pdfbox-commits mailing list archives

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

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

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

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

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



Mime
View raw message