pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java?rev=1855811&r1=1855810&r2=1855811&view=diff
==============================================================================
--- pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
(original)
+++ pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java
Tue Mar 19 07:27:14 2019
@@ -157,6 +157,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)));
+            // 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();
             cs.close();



Mime
View raw message