Debenu Quick PDF Library 8.16 beta 2 has been released and is ready for downloading and testing. Version 8.16 beta 2 includes new functions, bug fixes and enhancements.
Release Notes
New functions
- GetOptionalContentConfigLocked
- SetOptionalContentConfigLocked
- AddSWFAnnotationFromFile
- SetAnnotIntProperty
- NewTilingPatternFromCapturedPage
- SetFillTilingPattern
- GetXFAToString
- SetXFAFromString
- GetFormFieldObjectNumber
- SetTextExtractionScaling
- DASetTextExtractionScaling
Bug fixes
- Encryption keys for EncryptFile with 128-bit RC4 or 128-bit AES corrected
- AES padding checks
- Correctly generate appearance streams for fields using simple TrueType fonts
- Disabled decryption of metadata streams when necessary and all XRef streams
- GetAnalysisInfo now correctly returns 13 for documents encrypted with AES-256
- Corrected widths of fonts with a /Differences array
- Corrected character widths returned for different font types
- MergeDocument correctly merges /AcroForm resource dictionaries
- FontMatrixScaling taken into account for word and character spacing
- CopyPagesFromDoc correctly handles form fields in source and target documents
- AttachAnnotToForm returns 1 on success
- Added code to prevent memory access violation when processing CMaps
- Check for valid annotations array when enumerating annotation properties
- The annotation property cache is reset after a call to SetAnnotStrProperty
- Fixed bug processing separation color spaces introduced in 8.15
- TrueType fonts with more entries in the “post” table than numGlyphs now correctly handled
- Annotations with zero width/height are not rendered to prevent a divide by zero
- Added range checking to CIDToGIDMap lookups
- Symbol fonts added with AddTrueTypeFont now correctly mapped
- Metafile import with symbol fonts now correctly mapped
- Improved alignment of TA_BOTTOM and TA_TOP text in metafile import
- Non-embedded fonts with Adobe-Japan1 ordering are now rendered
- Further improvements to page extraction
- Correct font widths now returned for subsetted fonts
- SetImageMask improved to work with different image formats
- Prevention of memory leak fixed in GetFormFieldActionID when accessing sub-fields
- Prevention of memory leak in GetPageText, ExtractFilePageText and DAExtractPageText with mode 7
- NewRGBAxialShader now returns 1 to indicate success as per the documentation
Enhancements
- Support for JPEG2000 (JPXDecode) images on Win64
- Support for malformed PDFs with missing /Type /Pages entry
- Generated form field appearances now default to a 2pt border to match Acrobat
- Rendering to JPEG sets the image DPI
- Support for text extraction with fonts without ascent and descent metrics
- Support for documents with deleted /AcroForm objects
- Documents with non-embedded fonts using 90ms-RKSJ-H encoding now rendered correctly
- SetAnnotStrProperty can now set the subject, name and title properties
- Updated documentation for SetAnnotStrProperty to show tag 110 (author property)
- Documents containing TrueType fonts with invalid indexToLocFormat values now supported
- Added support for tiling patterns
- Documents with non-embedded fonts using GBK-EUC-H encoding now rendered correctly/li>
- Documents with non-embedded fonts using UniGB-UCS2-H encoding now rendered correctly/li>
- Documents with non-embedded fonts using UniCNS-UCS2-H encoding now rendered correctly/li>
- Improved text size reported during text extraction of Type3 fonts/li>
- Improved the accuracy of the font bounding box reported during text extraction/li>
- Improved the accuracy of ascent/descent values read from certain fonts/li>
- Implemented support for XFA template data with namespace versions from 2.1 up to 3.3/li>
- Generated form field appearance stream borders now more closely match Acrobat/li>
Upgrading To Version 8
If you are still using version 7 and would like to upgrade visit this page:
More information on upgrading to version 8 can be found online here.
Feedback! Any feedback large or small is appreciated. We’ll shortly be planning the next round of exciting new features for Quick PDF Library, so we’d really like to know what you want to see added to the SDK. Don’t be shy, email us and have your say.