pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1622518 - /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java
Date Thu, 04 Sep 2014 17:57:57 GMT
Author: jahewson
Date: Thu Sep  4 17:57:57 2014
New Revision: 1622518

URL: http://svn.apache.org/r1622518
Log:
PDFBOX-2315: Allow 'noaccess ND' in Type 1 font

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java?rev=1622518&r1=1622517&r2=1622518&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/type1/Type1Parser.java Thu Sep 
4 17:57:57 2014
@@ -680,6 +680,7 @@ final class Type1Parser
     private void readDef() throws IOException
     {
         readMaybe(Token.NAME, "readonly");
+        readMaybe(Token.NAME, "noaccess"); // allows "noaccess ND" (not in the Type 1 spec)
 
         Token token = read(Token.NAME);
         if (token.getText().equals("ND") || token.getText().equals("|-"))



Mime
View raw message