6c229dffb1
Currently we only insert optionalContent-data into the operatorList the first time that an image is parsed, which will (in hindsight) obviously cause problems for cached images. Hence we also need to insert the optionalContent-data in the various worker-thread image caches, such that it can be accessed in the fast-paths that are used to skip re-parsing of images. In order to reduce the amount of repeated code, this patch also adds a new `OperatorList`-method that takes care of inserting the necessary data in the operatorList.
2 lines
56 B
SYSTEMD
2 lines
56 B
SYSTEMD
https://github.com/mozilla/pdf.js/files/8540275/PDF.pdf
|