pdf.js/src/display
Brendan Dahl 039a7a670f Reset path bounding box tracking when starting a new path.
Starting a new path will wipe out any of the current subpaths in the
current graphics state, so we should reset the min/maxes.

This makes a number of the bounding boxes smaller and reduces the number
of composed pixels. For the smask tests in the corpus, the number of
composed pixesl goes from 19,872,109 to 19,676,905. The difference is much
larger on other PDFs though.
2021-11-03 11:46:52 -07:00
..
annotation_layer.js Support rich content in markup annotation 2021-10-31 13:44:51 +01:00
annotation_storage.js Annotations - Avoid empty value in text field when storage contains something for it (bug 1719148) 2021-09-18 15:08:22 +02:00
api.js Use even more optional chaining in the src/display/api.js file 2021-10-12 12:05:59 +02:00
base_factory.js Re-factor the DOMSVGFactory to extend an abstract base class 2021-06-11 17:15:49 +02:00
canvas.js Reset path bounding box tracking when starting a new path. 2021-11-03 11:46:52 -07:00
content_disposition.js Use the stringToBytes helper function in more places 2021-05-22 12:23:09 +02:00
display_utils.js [api-minor] Add a wrapper around the addLinkAttributes-function, in the API, to the PDFLinkService implementations 2021-10-02 12:28:00 +02:00
fetch_stream.js Fix handling of fetch errors 2021-08-30 12:43:28 +01:00
font_loader.js XFA - Add support for reftests 2021-06-08 10:37:26 +02:00
metadata.js Convert Metadata to use private class fields 2021-10-22 22:01:19 +02:00
network_utils.js [api-minor] Support the Content-Disposition filename in the Firefox PDF Viewer (bug 1694556, PR 9379 follow-up) 2021-02-26 10:50:29 +01:00
network.js Implement PDFNetworkStreamRangeRequestReader._onError, to handle range request errors with XMLHttpRequest (issue 9883) 2021-08-31 10:23:57 +02:00
node_stream.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02:00
node_utils.js Move most functionality in the create methods into the BaseCanvasFactory 2021-06-11 17:15:47 +02:00
optional_content_config.js Treat all content as visible when no optional content groups are defined (issue 13971) 2021-09-04 08:13:37 +02:00
pattern_helper.js Improve caching of shading patterns. (bug 1721949) 2021-07-28 10:29:20 -07:00
svg.js Fix pattern handling regression in SVGGraphics (PR 13770 follow-up) 2021-10-18 21:40:10 +02:00
text_layer.js Fix issues in text selection 2021-10-17 16:27:05 +02:00
transport_stream.js Clear some Arrays, rather than re-initialize them, in src/display/-code 2021-04-24 13:00:53 +02:00
worker_options.js Use typedef to define the type of GlobalWorkerOptions. 2020-08-03 19:06:28 +09:00
xfa_layer.js Support rich content in markup annotation 2021-10-31 13:44:51 +01:00
xfa_text.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00