Skip to content

Commit

Permalink
Fix fine logs for colors and fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 6, 2024
1 parent 315912f commit 86f6e57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static PDColorSpace getColorSpaceFromName(COSObject base, PDResources
}
}
}
LOGGER.log(Level.FINE, "Unknown ColorSpace name");
LOGGER.log(Level.FINE, "Unknown ColorSpace name " + name);
return null;
}
}
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/org/verapdf/pd/font/type1/Type1FontProgram.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ public void parseFont() throws IOException {
getBaseParser().initializeToken();

getBaseParser().skipSpaces(true);


COSObject nextObject = nextObject();
while (getBaseParser().getToken().type != Token.Type.TT_EOF) {
processObject(nextObject());
processObject(nextObject);
nextObject = nextObject();
}
initializeEncoding();
if (glyphWidths == null) {
Expand Down

0 comments on commit 86f6e57

Please sign in to comment.