makala 发表于 2016-10-28 08:50:31

Apache PDFBox 2.0.3,Java 的 PDF 处理类库

欢迎加入运维网交流群:263444886  
                  Apache PDFBox 2.0.3 发布了。Apache PDFBox库是一个开源的Java工具用于处理PDF文档。该版本修复了一些bug以及功能的提升。
  更新内容:
  Bug

[*]   - DateConverter doesn't handle time zones outside -12 to +12 range properly
[*]   - TTFSubsetter NoSuchElementException
[*]   - org.apache.fontbox.cff.CFFParser.readEntry sometimes throws java.lang.IllegalArgumentException
[*]   - PDFTextStripper adds extra word/line delimiters when PDF page orientation is 180 degrees
[*]   - Tab characters in PDTextField cause error when using .flatten()
[*]   - Can't show text (glyph) from ZapfDingbats font
[*]   - SCALE_TO_FIT with DPI yields incorrect margins
[*]   - Dates falsely detected as different by preflight
[*]   - Apache PDFBox Form Fill TrueType text spacing issue
[*]   - Issue while Merging PDF with Hidden Layers
[*]   - Regression: NullPointerException in subsetting
[*]   - Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont can not be cast to org.apache.fontbox.cff.CFFFont
[*]   - Create example with empty signature incomplete
[*]   - PDType0Font Subsetting Monospace DejaVuSansMono
[*]   - PDF rendering regression
[*]   - Downgrade maven-bundle-plugin to ensure jdk6 compatibility
[*]   - Throwing exception when PDF has unused empty fonts embedded.
[*]   - IllegalArgumentException: Symbolic fonts must have a built-in encoding
[*]   - Threads using PDFBox getting stuck when using standard 14 fonts
[*]   - Correct validation of Widget Annotations for PDF/A-1
[*]   - TextToPDF drops leading spaces
[*]   - Incorrect embedding of non-subset fonts.
[*]   - Redundant/incorrect code in PDVisibleSignDesigner.java
[*]   - DublinCoreSchema.getDates always returns empty list
[*]   - ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0
[*]   - Text extraction - words on same line detection failing in 2.x
[*]   - DomXmpParser fails to parse date
[*]   - NumberFormatException when loading large PDF file
[*]   - Infinite loop while parsing
[*]
   - IllegalArgumentException: Dimensions (width=99999>
[*]   - NullPointerException at org.apache.pdfbox.pdmodel.common.COSArrayList.convertFloatCOSArrayToList
[*]   - ArrayIndexOutOfBoundsException at org.apache.fontbox.cmap.CMapParser.increment
[*]   - Java 9 warnings
[*]   - PDPage.getAnnotations() modifies the PDF
[*]   - Set border and background color in AcroForm field appearance
[*]   - XMP parsing fails if XMP contain comments
[*]
   - NPE when PDF/A>
[*]   - IllegalArgumentException: resourceDictionary is null in PDFMerger (2)
[*]   - IllegalArgumentException: 2058 > -49861164 in PDType1Font.java
[*]   - CA and ca values should be clipped
[*]   - NPE in AppearanceGeneratorHelper.setAppearanceValue() if no rectangle in widget
[*]   - Localization in XRef generation results in unusable PDFs
[*]   - NullPointerException in PageDrawer.drawAnnotationLinkBorder() due to /Rect array containing indirect objects
[*]   - IllegalArgumentException for images without dimensions
[*]
   ->
[*]   - NullPointerException in PDTrueTypeFont.java if glyf table is missing
[*]   - NullPointerException in PDType1Font.generateBoundingBox
[*]   - NumberFormatException in CFFParser.readRealNumber
[*]   - AcroFormValidationProcess.validateField fails to check multiple widgets
  Improvement

[*]   - Right now PDFBOX does not permit to sign multiple files while calling an external signing service.
[*]   - Add code for CCITT compression
[*]   - Complete PDActionSound
[*]   - pdf creation very slow
[*]   - Refactor to allow tsa timestamping for visible signatures
[*]   - AcroFrom fields (values) invisible when printing
[*]   - PDButton.getOnValues seems to be using the wrong source for getting the allowed values
[*]   - PDFDebugger shows XML Metadata in ISO-8859-1
[*]
   - Display font>
[*]   - Add orientation parameter to PrintPDF command line tool
[*]   - CreateVisibleSignature example does not use the correct alias
[*]   - Slow string to hex conversion in ToUnicodeWriter
[*]   - Optimize float to string conversion in PDAbstractContentStream
[*]   - Optimize image conversion in LosslessFactory
[*]   - OOM for single page pdf file
[*]   - Using RenderingMode with PDPageContentStream
[*]   - Warn users not to use legacy code
[*]   - Improve handling of line breaking characters when setting AcroForm field values
[*]   - Implement some caching of PDImageXObject
  New Feature

[*]   - TextToPDF needs orientation control
  Wish

[*]   - ERROR: dash lengths all zero, ignored
  点击查看发行主页了解更多
  下载地址:

[*]  http://pdfbox.apache.org/download.cgi
页: [1]
查看完整版本: Apache PDFBox 2.0.3,Java 的 PDF 处理类库