Changes:
#6273 Refactor annotation code to use a factory
#6285 Rename PatternType
to ShadingType
to avoid confusion
#6281 Keep the Link annotation's data URL on one line
#6292 Fix various shading pattern regressions (issue 6287)
#6270 Adjust the heuristics used to detect OpenType font file with CFF data (bug 1186827, bug 1182130, issue 6264)
#6222 Improve robustness of builder (esp. on Windows)
#6304 fix handling of flags 1-3 in coons shading
#6308 Apply hover style to .overlayButton not only when hovered, but also when focused.
#6310 fix handling of flags 1-3 in tensor shading
#6282 Add a PDFLinkService
instance to the "simpleviewer" component example
#6315 Test case for tensor shading PR 6310
#6321 Removes PdfRedirector.js and PlayPreview support.
#6325 Version 1.1.366
#6314 Fix regressions affecting both the 'pagemode' hash parameter and certain 'namedaction' types (PR 5971)
#6327 Prevent switching to disabled views (i.e. outline or attachments) in the sidebar
#6329 cmaps: Use cmap.forEach instead of Array.forEach
#6354 Fix typo in drawFigures
, in webgl.js, which causes shadingPatterns with figure.type === triangles
to render incorrectly
#6349 Fixes supportsMozChunked for node.js
#6233 Improve support for viewing PDFs from file://-URLs in the Chrome extension
#6366 Only take the fast-path in PDFImage_createImageData
for un-masked JPEG images with "standard" colour spaces (issue 6364)
#6141 Provide a fallback for font rendering when not allowed to use eval
#6332 Serialize errors before invoking postMessage
#6370 api/getDocument: handle ArrayBuffer check for PDF binary data (byteLength)
#6372 Also check maybeLength
when deciding if a stream is empty in Parser_makeFilter
(issue 6360, bug 1191694)
#6375 Make XRef_indexObjects
more robust against bad PDF files (issue 5752)
#6337 Adjust which TrueType (3, 1) glyphs we attempt to skip mapping of (issue 6336)
#6362 Add disableStream
to the list of preferences read by PDFViewerApplication.initialize
(issue 6361)
#6369 Add locatization notes for the DocumentProperties strings with parameters
#6358 Don't catch MissingDataException
in Parser_tryShift
#6242 Allow outline to be collapsed / shown via +/-.
#6388 Use the Retina assets for outlineItemToggler
when in HiDPI mode
#6390 Switch expanded/collapsed
in the names of the treeitem-*
assets
#6395 Fix typo in test_manifest.json
that prevents test-case issue1419.pdf
from running
#6401 Add a unit-test for skipping paintXObject
if Subtype === PS
(PR 4861)
#6386 Add a warning when we encounter an empty stream in Parser_makeFilter
#6404 Add unit-tests for Linearization dictionary parsing (PR 5023 follow-up)
#6403 Add a reduced test-case for issue 6113
#6399 Slightly improved test coverage for vertical text
#6402 Set TZ=UTC before calls to zip
#6405 Add a (linked) load
test for PR 4731
#6357 Avoid more allocations for RTL text in bidi.js
#6417 Add (linked) load
tests for PR 1976 and 4606
#6414 Ensure that the clipping path is reset when the state is restored (issue 6413)
#6407 Fallback in readCmapTable
, instead of using error
, for TrueType fonts with unsupported cmap formats (bug 1200096)
#6421 Adjust the min-width
of outline items and use more consistent border-radius
(PR 6242 follow-up)
#6423 Add mirrored triangle (TOC item icon)
#6425 Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410)
#6431 Add a utility function, for the viewer, that removes null
(\x00) characters (issue 6416)
#6433 Add unit-tests for stringToPDFString
#6420 Add a reduced test-case for PR 4922
#6427 Make get fingerprint
slightly more robust against corrupt PDF files
#6299 Convert canvas thumbnails to PNG
#6441 Misc. follow-up fixes to PR 6299 (Convert canvas thumbnails to PNG)
#6443 Don't show thumbnails until the canvas
to image
conversion is done (issue 6442)
#6447 Add unit-tests for removeNullCharacters
(PR 6431 follow-up)
#6435 Replace the unavailable linked test-case for issue 3205 with a reduced test-case
#6391 Fix text spacing with vertical fonts (#6387)