You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2020/08/09 08:31:21 UTC

svn commit: r1880711 - /pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java

Author: tilman
Date: Sun Aug  9 08:31:21 2020
New Revision: 1880711

URL: http://svn.apache.org/viewvc?rev=1880711&view=rev
Log:
PDFBOX-4892: improve javadoc

Modified:
    pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java

Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java?rev=1880711&r1=1880710&r2=1880711&view=diff
==============================================================================
--- pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java (original)
+++ pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java Sun Aug  9 08:31:21 2020
@@ -127,7 +127,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * This will add overlays documents to a document.
+     * This will add overlays documents to a document. If you created the overlay documents with
+     * subsetted fonts, you need to save them first so that the subsetting gets done.
      *
      * @param specificPageOverlayDocuments Optional map of overlay documents for specific pages. The
      * page numbers are 1-based. The map must be empty (but not null) if no specific mappings are
@@ -632,7 +633,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the default overlay PDF.
+     * Sets the default overlay PDF. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param defaultOverlayPDF the default overlay PDF
      */
@@ -652,7 +654,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the first page overlay file.
+     * Sets the first page overlay file. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param firstPageOverlayFile the first page overlay file
      */
@@ -682,7 +685,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the last page overlay PDF.
+     * Sets the last page overlay PDF. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param lastPageOverlayPDF the last page overlay PDF
      */
@@ -702,7 +706,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the all pages overlay PDF.
+     * Sets the all pages overlay PDF. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param allPagesOverlayPDF the all pages overlay PDF. This should not be a PDDocument that you
      * created on the fly, it should be saved first, if it contains any fonts that are subset.
@@ -723,7 +728,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the odd page overlay PDF.
+     * Sets the odd page overlay PDF. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param oddPageOverlayPDF the odd page overlay PDF
      */
@@ -743,7 +749,8 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the even page overlay PDF.
+     * Sets the even page overlay PDF. If you created the overlay document with
+     * subsetted fonts, you need to save it first so that the subsetting gets done.
      * 
      * @param evenPageOverlayPDF the even page overlay PDF
      */