Today we are excited to announce version 8.0.1 of the PDFTron iOS SDK.
This version adds a new text property bar and other text editing improvements, and more.
linkText Annotation Improvements
It is now easier to change the style and appearance of text annotations as they are being created or edited with the new text property bar. The text property bar sits on top of the keyboard and allows convenient access to changing the font face, size and color.
Along with the addition of the text property bar, when editing a text annotation its bounding box will now automatically grow to accomodate new lines of text. It is also now easier to begin editing an existing text annotation by tapping on the annotation once it has been selected.
linkPencilKit Highlight Blending
In this release, PencilKit annotations that include only highlight annotations are now multiply-blended with the document (as opposed to alpha-blended), giving them an appearance that more accurately resembles a real-life highlighter. Text and content under the highlight annotation is less likely to be obscured by the highlight itself with a multiply blend mode applied, as can be seen in the following images:
|Highlight Blending Disabled||Highlight Blending Enabled|
This new behavior for PencilKit highlight annotations can be toggled using the
pencilHighlightMultiplyBlendModeEnabled property on the
- When viewing a PDF in horizontal scrolling mode, the page will be scaled down so that the entire page is visible. This behavior can be controlled via the
pageFitsBetweenBarsproperty on the
- This release turns on color management by default, using a new highly accurate CMYK color profile. This will ensure CMYK color space PDFs are displayed with accurate colors, at the cost of very slightly slower rendering. If desired, this can be turned off with
- Numeric and date form fields will now automatically show a numeric or date picking keyboard. Numeric fields restrict input to numeric characters.
For a complete list of changes in this release, please see the full PDFTron 8.0.0 for iOS changelog.
We hope you like these changes and any feedback is greatly appreciated. Please don't hesitate to contact us if you have any questions or suggestions for future updates. As always, we have some great new features coming soon so please stay tuned!