pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1855810 - /pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
Date Tue, 19 Mar 2019 07:27:09 GMT
Author: tilman
Date: Tue Mar 19 07:27:09 2019
New Revision: 1855810

URL: http://svn.apache.org/viewvc?rev=1855810&view=rev
Log:
PDFBOX-2941: adjust comment

Modified:
    pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java?rev=1855810&r1=1855809&r2=1855810&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
(original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
Tue Mar 19 07:27:09 2019
@@ -158,7 +158,7 @@ class Type3Font extends FontPane
                 cs.transform(Matrix.getTranslateInstance(translateX * scale, translateY *
scale));
                 cs.beginText();
                 cs.setFont(font, scale / Math.min(Math.abs(scalingFactorX), Math.abs(scalingFactorY)));
-                //TODO support type3 font encoding in PDType3Font.encode
+                // can't use showText() because there's no guarantee we have the unicode
                 cs.appendRawCommands(String.format("<%02X> Tj\n", index).getBytes(Charsets.ISO_8859_1));
                 cs.endText();
             }



Mime
View raw message