pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1835161 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel: PDDocument.java font/PDType0Font.java
Date Thu, 05 Jul 2018 17:36:10 GMT
Author: tilman
Date: Thu Jul  5 17:36:10 2018
New Revision: 1835161

URL: http://svn.apache.org/viewvc?rev=1835161&view=rev
Log:
PDFBOX-4242: better method name

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java?rev=1835161&r1=1835160&r2=1835161&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java Thu Jul  5
17:36:10 2018
@@ -884,7 +884,7 @@ public class PDDocument implements Close
      *
      * @param ttf
      */
-    public void registerTrueTypeFont(TrueTypeFont ttf)
+    public void registerTrueTypeFontForClosing(TrueTypeFont ttf)
     {
         fontsToClose.add(ttf);
     }

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java?rev=1835161&r1=1835160&r2=1835161&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Thu
Jul  5 17:36:10 2018
@@ -123,7 +123,7 @@ public class PDType0Font extends PDFont
             if (embedSubset)
             {
                 this.ttf = ttf;
-                document.registerTrueTypeFont(ttf);
+                document.registerTrueTypeFontForClosing(ttf);
             }
             else
             {



Mime
View raw message