mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
fix(svg) adjust strategy for decoding JPEG images
This commit is contained in:
parent
0dbc68a6d6
commit
8d5d97264e
9 changed files with 66 additions and 15 deletions
|
@ -22,6 +22,12 @@ var globalScope = (typeof window !== 'undefined') ? window :
|
|||
|
||||
var FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0];
|
||||
|
||||
const NativeImageDecoding = {
|
||||
NONE: 'none',
|
||||
DECODE: 'decode',
|
||||
DISPLAY: 'display'
|
||||
};
|
||||
|
||||
var TextRenderingMode = {
|
||||
FILL: 0,
|
||||
STROKE: 1,
|
||||
|
@ -1369,6 +1375,7 @@ export {
|
|||
MessageHandler,
|
||||
MissingDataException,
|
||||
MissingPDFException,
|
||||
NativeImageDecoding,
|
||||
NotImplementedException,
|
||||
PageViewport,
|
||||
PasswordException,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue