The setStyles function on annotations (that might be called inside custom annotation draw functions) now expects a page matrix as the second parameter. The draw function for all annotations now gets passed in a page matrix so you can just pass it in from there. See the custom annotations sample for an example of this.
Added an option for displaying annotation comments when printing
Added readerControl.PRINT_QUALITY to set the print quality programmatically without editing ReaderControl
Made the API for setting stroke thickness and font size consistent between XOD and PDF documents. Scaling of the values now only happens on render instead of at import time. This won't have large noticeable effects but should make XFDF exported from one document type consistent with the same converted document.
Preserve XFDF attributes when exporting annotations that were imported and not modified (previously some properties would be changed or removed)
Added optimizations to better handle many annotations existing in the notes panel
Added support for exporting and importing many XFDF attributes
WebViewer is now able to be imported as a module using require.js or a CommonJS module bundler
Stamp annotations can now have their opacity changed from the UI
Updated the default direction that the arrow tool adds the arrow head
Improved the behavior for creating FreeText annotations from a single click so that they won't be created if another FreeText is currently being edited
Fixed issue with viewport rendering where WebViewer was unnecessarily rerendering pages that are not the current page
Fixed issue where semitransparent cloud polygons wouldn't render the fill all the way to the bottom and right sides
Fixed issue with annotation thumbnail canvas not always being updated correctly
Fixed issue with importing line annotations that didn't have start or end points defined
Fixed issue with annotation tools not being hidden in readonly mode
Fixed issue with FreeText annotations created from a single click having the wrong dimensions when the page is rotated
Fixed issue with FreeText annotations with auto font size not having the size calculate correctly
Fixed issue where hideAnnotations was not hiding HTML based annotations (widgets and links)
Fixed issue editing styles of line annotations with a different arrow style than OpenArrow or None
Fixed issue with switching to readonly mode when there are annotations that have replies
Fixed issue where callout annotations with zero stroke thickness were not drawing the arrow line as other viewers do
Fixed issue with widget date validation formats that started with days
Fixed issue where extra incorrect text would show up when printing in some situations
WebViewer mobile updates
Shift the view upwards when focusing a field so that the virtual keyboard doesn't cover the field on Android
Fixed issue with auto font size fields in iOS resetting the cursor position to the end when typing
Capped the canvas multiplier at 2 to prevent iOS from erroring out due to internal canvas size limitations
Fixed issue with widgets temporarily appearing out of position when zooming