pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1709199 - /pdfbox/cmssite/trunk/content/2.0/migration.md
Date Sat, 17 Oct 2015 17:12:46 GMT
Author: msahyoun
Date: Sat Oct 17 17:12:45 2015
New Revision: 1709199

URL: http://svn.apache.org/viewvc?rev=1709199&view=rev
PDFBOX-3030: add info about PDResources and TrueType fonts


Modified: pdfbox/cmssite/trunk/content/2.0/migration.md
URL: http://svn.apache.org/viewvc/pdfbox/cmssite/trunk/content/2.0/migration.md?rev=1709199&r1=1709198&r2=1709199&view=diff
--- pdfbox/cmssite/trunk/content/2.0/migration.md (original)
+++ pdfbox/cmssite/trunk/content/2.0/migration.md Sat Oct 17 17:12:45 2015
@@ -29,6 +29,21 @@ The API changes are reflected in the Jav
 - `PDXObjectForm` was renamed to `PDFormXObject`  
 - `PDXObjectImage` was renamed to `PDImageXObject`
+### Font Handling
+Font handling now has full Unicode support and supports font subsetting.
+TrueType fonts shall now be loaded using
+    PDType0Font.load
+to leverage that. 
+### PDF Resources Handling
+The individual calls to add resources such as `PDResource.addFont(PDFont font)` and `PDResource.addXObject(PDXObject
xobject, String prefix)`
+have been replaced with `PDResource.add(resource type)` where `resource type` represents
the different resource classes such as `PDFont`, `PDAbstractPattern`
+and so on. The `add` method now supports all the different type of resources available.
 ### General Behaviour
 PDFBox 2.0.0 is now parsing PDF files following the Xref information in the PDF. This is
similar to the functionality using
 `PDDocument.loadNonSeq` with PDFBox 1.8.x. Users still using `PDDocument.load` with PDFBox
1.8.x might experience different

View raw message