uan2wrbf7k 发表于 2016-5-25 08:25:21

Apache PDFBox 1.8.11 发布,Java 的 PDF 处理类

Bug 修复  

  
- All sort of Problems when importing Xfdf files into PDFs ->
  
damaged pdfs and NPEs

  
- Text extraction getting zero font>  
text in this PDF with Type 3 Fonts
  
- OutOfMemoryError at
  
org.apache.fontbox.cff.IndexData.initData(IndexData.java:95)
  
- PDFBox makes disallowed changes when signing a signed document
  
- Error parsing PDF
  
- High CPU load and OutOfMemoryError when rendering shading

  
->  
- NullPointerException when rendering shading with no function
  
- Merge does not close input streams
  
- java.lang.NegativeArraySizeException in
  
org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray.createColorModel
  
- ArrayIndexOutOfBoundsException in CmapSubtable.processSubtype6
  
- CFFParser parser treats CIDFont's charset data as SID

  
->  
- EmptyStackException in PDFStreamEngine.getColorSpaces
  
- Problem while extracting font from PDFontSetting (used in
  
PDExtendedGraphicsState)

  
->  
- TIFF-Predictor with 1 bit per component not supported
  
- Checkbox getOnValue() throws NPE
  
- NPE in PDAcroForm.getField() if the /Fields entry is missing
  
- java.util.zip.DataFormatException: incorrect data check

  
- fix>  
- Potential NPE in PDMarkedContent#getMCID()
  
- Potential resource leak in TTFParser's use of RAFDataStream
  
- NPE in PDTrueTypeFont.extractCMaps
  
- Infinite recursion in ExtractImages 1.8.11-SNAPSHOT
  
- LZW decode filter shouldn't throw IndexOutOfBoundsException
  
- PDDocument.load fails to load a PDF document.
  
- StackOverflow in Quicksort
  
- PDF files not closed after load fails
  
- Maven repos should be https
  
- Newly created XRef stream has direct root objects
  
- Files with missing xref table must fail
  
- Wrong default type in Xref stream W0 element
  
- Metadata stream should not be compressed

  
->  
reference in extends
  
- Extract by beads doesn't work
  
- Visible signatures in different pages changes previous revision

  
- Direct JPEG extraction results in invalid images in 2.0.0>
  
- org.apache.pdfbox.util.PDFTextStripper>  
throws NumberFormatException with recent Verona-enabled Java 9 JVMs
  
- PDOutputIntent has N=3 (RGB) hardcoded
  
- Signature dictionary is not decrypted in encrypted files
  
- Links don't work in firefox
  
- New NPE in PDFBox 1.8.11-rc1 in Acroform PDCheckbox's isChecked()
  

  
改进
  

  
- Add setModifiedDate(Calendar c) to PDAnnotation
  
- Use animal sniffer maven plugin to detect non java 5 api usage
  
within the 1.8 branch
  
- Log statement on level 'severe' while nothing else indicates error
  
- Handle TIFF predictor for bpc 2 and 4 / optimize existing
  
predictor code
  
- Preflight cookbook example is inefficient

  
- Add a removeRegion method in PDFTextSTripperByArea>
页: [1]
查看完整版本: Apache PDFBox 1.8.11 发布,Java 的 PDF 处理类