Release Notes -- Apache PDFBox -- Version 2.0.3 Introduction ------------ The Apache PDFBox library is an open source Java tool for working with PDF documents. This is an incremental bugfix release based on the earlier 2.0.2 release. It contains a couple of fixes and small improvements. For more details on these changes and all the other fixes and improvements included in this release, please refer to the following issues on the PDFBox issue tracker at https://issues.apache.org/jira/browse/PDFBOX. Bug [PDFBOX-2420] - DateConverter doesn't handle time zones outside -12 to +12 range properly [PDFBOX-2854] - TTFSubsetter NoSuchElementException [PDFBOX-2919] - org.apache.fontbox.cff.CFFParser.readEntry sometimes throws java.lang.IllegalArgumentException [PDFBOX-2984] - PDFTextStripper adds extra word/line delimiters when PDF page orientation is 180 degrees [PDFBOX-3165] - Tab characters in PDTextField cause error when using .flatten() [PDFBOX-3298] - Can't show text (glyph) from ZapfDingbats font [PDFBOX-3306] - SCALE_TO_FIT with DPI yields incorrect margins [PDFBOX-3315] - Dates falsely detected as different by preflight [PDFBOX-3332] - Apache PDFBox Form Fill TrueType text spacing issue [PDFBOX-3335] - Issue while Merging PDF with Hidden Layers [PDFBOX-3337] - Regression: NullPointerException in subsetting [PDFBOX-3344] - Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont can not be cast to org.apache.fontbox.cff.CFFFont [PDFBOX-3373] - Create example with empty signature incomplete [PDFBOX-3379] - PDType0Font Subsetting Monospace DejaVuSansMono [PDFBOX-3381] - PDF rendering regression [PDFBOX-3386] - Downgrade maven-bundle-plugin to ensure jdk6 compatibility [PDFBOX-3395] - Throwing exception when PDF has unused empty fonts embedded. [PDFBOX-3403] - IllegalArgumentException: Symbolic fonts must have a built-in encoding [PDFBOX-3404] - Threads using PDFBox getting stuck when using standard 14 fonts [PDFBOX-3408] - Correct validation of Widget Annotations for PDF/A-1 [PDFBOX-3409] - TextToPDF drops leading spaces [PDFBOX-3411] - Incorrect embedding of non-subset fonts. [PDFBOX-3417] - Redundant/incorrect code in PDVisibleSignDesigner.java [PDFBOX-3419] - DublinCoreSchema.getDates always returns empty list [PDFBOX-3426] - ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0 [PDFBOX-3435] - Text extraction - words on same line detection failing in 2.x [PDFBOX-3439] - DomXmpParser fails to parse date [PDFBOX-3441] - NumberFormatException when loading large PDF file [PDFBOX-3446] - Infinite loop while parsing [PDFBOX-3447] - IllegalArgumentException: Dimensions (width=99999 height=99999) are too large [PDFBOX-3448] - NullPointerException at org.apache.pdfbox.pdmodel.common.COSArrayList.convertFloatCOSArrayToList [PDFBOX-3450] - ArrayIndexOutOfBoundsException at org.apache.fontbox.cmap.CMapParser.increment [PDFBOX-3466] - Java 9 warnings [PDFBOX-3467] - PDPage.getAnnotations() modifies the PDF [PDFBOX-3470] - Set border and background color in AcroForm field appearance [PDFBOX-3471] - XMP parsing fails if XMP contain comments [PDFBOX-3472] - NPE when PDF/A identification metadata does not contain ID [PDFBOX-3473] - IllegalArgumentException: resourceDictionary is null in PDFMerger (2) [PDFBOX-3475] - IllegalArgumentException: 2058 > -49861164 in PDType1Font.java [PDFBOX-3477] - CA and ca values should be clipped [PDFBOX-3479] - NPE in AppearanceGeneratorHelper.setAppearanceValue() if no rectangle in widget [PDFBOX-3481] - Localization in XRef generation results in unusable PDFs [PDFBOX-3485] - NullPointerException in PageDrawer.drawAnnotationLinkBorder() due to /Rect array containing indirect objects [PDFBOX-3486] - IllegalArgumentException for images without dimensions [PDFBOX-3487] - ClassCastException in COSWriter.write() when saving PDF [PDFBOX-3488] - NullPointerException in PDTrueTypeFont.java if glyf table is missing [PDFBOX-3490] - NullPointerException in PDType1Font.generateBoundingBox [PDFBOX-3491] - NumberFormatException in CFFParser.readRealNumber [PDFBOX-3493] - AcroFormValidationProcess.validateField fails to check multiple widgets Improvement [PDFBOX-3065] - Right now PDFBOX does not permit to sign multiple files while calling an external signing service. [PDFBOX-3069] - Add code for CCITT compression [PDFBOX-3324] - Complete PDActionSound [PDFBOX-3382] - pdf creation very slow [PDFBOX-3383] - Refactor to allow tsa timestamping for visible signatures [PDFBOX-3387] - AcroFrom fields (values) invisible when printing [PDFBOX-3391] - PDButton.getOnValues seems to be using the wrong source for getting the allowed values [PDFBOX-3397] - PDFDebugger shows XML Metadata in ISO-8859-1 [PDFBOX-3405] - Display font size [PDFBOX-3414] - Add orientation parameter to PrintPDF command line tool [PDFBOX-3416] - CreateVisibleSignature example does not use the correct alias [PDFBOX-3418] - Slow string to hex conversion in ToUnicodeWriter [PDFBOX-3421] - Optimize float to string conversion in PDAbstractContentStream [PDFBOX-3433] - Optimize image conversion in LosslessFactory [PDFBOX-3442] - OOM for single page pdf file [PDFBOX-3458] - Using RenderingMode with PDPageContentStream [PDFBOX-3460] - Warn users not to use legacy code [PDFBOX-3461] - Improve handling of line breaking characters when setting AcroForm field values [PDFBOX-3484] - Implement some caching of PDImageXObject New Feature [PDFBOX-3410] - TextToPDF needs orientation control Wish [PDFBOX-3468] - ERROR: dash lengths all zero, ignored Release Contents ---------------- This release consists of a single source archive packaged as a zip file. The archive can be unpacked with the jar tool from your JDK installation. See the README.txt file for instructions on how to build this release. The source archive is accompanied by SHA1 and MD5 checksums and a PGP signature that you can use to verify the authenticity of your download. The public key used for the PGP signature can be found at https://svn.apache.org/repos/asf/pdfbox/KEYS. About Apache PDFBox ------------------- Apache PDFBox is an open source Java library for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command line utilities. Apache PDFBox is published under the Apache License, Version 2.0. For more information, visit http://pdfbox.apache.org/ About The Apache Software Foundation ------------------------------------ Established in 1999, The Apache Software Foundation provides organizational, legal, and financial support for more than 100 freely-available, collaboratively-developed Open Source projects. The pragmatic Apache License enables individual and commercial users to easily deploy Apache software; the Foundation's intellectual property framework limits the legal exposure of its 2,500+ contributors. For more information, visit http://www.apache.org/