Yury Delendik
542c9c4c7a
Moves ColorSpace logic into evaluator
11 years ago
Yury Delendik
d53dc2e7d6
Refactors showText: split type3, remove showSpacedText
11 years ago
fkaelberer
f88118dbf9
small optimizations in parser.getObj(), lexer.getObj()
11 years ago
Yury Delendik
f4baea900e
Fixes regression in the cleanup
11 years ago
p01
7b68737baa
Strict isEOF / ~22% faster on issue2813, from 16.5s to 13.5s
11 years ago
Yury Delendik
e5a0d89da9
Refactors loadFont for translateFont be async; fixes type3 dup data
11 years ago
Yury Delendik
88aa396aca
Terminate getOperationList and getTextContent every 20 ms
11 years ago
Yury Delendik
d8eb8b1de1
Adds Promise to the getOperatorList
11 years ago
Jonas Jenwald
a984fe5b55
Add more unit tests for the API
11 years ago
Jonas Jenwald
3e1db41ddd
Fix loading of fonts with empty font files (bug 866395 and issue 3522)
11 years ago
Jonas Jenwald
ea0453f106
Add isEmpty method to Stream, DecodeStream and ChunkedStream
11 years ago
Christian Krebs
3e7bcaa892
Handle nested post script arguments in the preprocessor
...
Fix for issue #4785
11 years ago
p01
330b99f428
Optimized stream.js / 9-10x faster DecodeStream_ensureBuffer
11 years ago
Jonas Jenwald
c68ffcf978
Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
11 years ago
Jonas Jenwald
b907e15a90
Build paths for glyph accents when drawing text as curves
11 years ago
fkaelberer
8c38c2cbe3
Simplify Jbig2Image.decodeInteger()
11 years ago
Yury Delendik
cc9643cf32
Refactors GetAnnotationsRequest and GetPageRequest
11 years ago
Yury Delendik
2008f74185
Refactors MessageHandler.send to remove callbacks
11 years ago
Jonas Jenwald
f3f3db0d15
Remove 'info' and 'metadata' from GetDoc
11 years ago
Jonas Jenwald
069f0cc8c0
Remove 'javaScript' from GetDoc
11 years ago
Jonas Jenwald
4bfcb27d0b
Remove 'outline' from GetDoc
11 years ago
p01
14a2d74d16
Optimized JPG.js - 33% faster convertCmykToRgb
11 years ago
p01
287274d3dc
Optimized JPG.js - reduced memory usage + 2.16x faster getLinearizedBlockData
...
Linearize and scale the mcu blocks into the destination buffer in a single pass
11 years ago
p01
7067409e00
Optimized JPX's transformComponents
11 years ago
p01
27d532efeb
Optimized PDFImage_undoPreblend
11 years ago
Jonas Jenwald
87d38b0692
Remove LegacyPromise in src/core/worker.js
11 years ago
Jonas Jenwald
034f1102da
Remove LegacyPromise in src/core/core.js
11 years ago
Jonas Jenwald
caad87eba5
Remove LegacyPromise in src/core/pdf_manager.js
11 years ago
Tim van der Meij
6b9aeb34f1
Fixes rendering of PDFs with nested trailer dictionary
11 years ago
Tim van der Meij
3ddc534920
Tiny updates
11 years ago
Jonas Jenwald
b6ff4aea2b
Add onError function to ChunkedStreamManager
11 years ago
Jonas Jenwald
89c11ca9a2
Remove LegacyPromise in src/core/chunked_stream.js
11 years ago
Pramodh KP
8616b2ccf3
Remove LegacyPromise from src/core/obj.js
11 years ago
Yury Delendik
63d5aae3f6
Groups path commands into single command
11 years ago
Jonas Jenwald
0fa154be4e
Amend GlyphMapForStandardFonts to fix issue 4276
11 years ago
Jonas Jenwald
747dec16b2
Prevent trying to map characters to the specials unicode block in adjustMapping (issue 4650)
11 years ago
Yury Delendik
98e023e464
Guesses Type1C font type based on file content
11 years ago
Thorben Bochenek
e8f0700bfa
Move the colour conversion to jpg.js
...
Benchmarking shows that this improves performance for the invitation document
from https://github.com/mozilla/pdf.js/issues/3809 by 35%
11 years ago
Thorben Bochenek
e7fe45a5c4
Refactor jpg.js and include forceRGBoutput, correct style of image.js
...
This refactors getData to be more readable and extracts all the color
conversion algorithms to their own functions. The resulting code was then
cleaned up.
This also introduces a flag `forceRGBoutput` to getData, that allows to always
get the data as a `width * height * 3` bytes long RGB buffer
11 years ago
p01
8f9bd33a57
PDFImage_resize: copy in place with alpha and ~5x speed up
11 years ago
p01
a66326cc54
Optimized JPX decoder ~6% faster
11 years ago
fkaelberer
11f565547c
Fix corrupted images #4649
11 years ago
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander )
11 years ago
Yury Delendik
9a5c121e4d
Fixes invalid CFF name for Mac OSX
11 years ago
Yury Delendik
bf3a2488df
Recognizes ascii type1 encoding
11 years ago
fkaelberer
f52dfe4c81
Fix #3483 and simplify readCodingpasses()
11 years ago
fkaelberer
b06c10cbbd
rename getUint32 to getInt32 and collect readInt*() in util.js
11 years ago
Yury Delendik
a468f7215d
Fixes spacing in the text layer builder
11 years ago
fkaelberer
04602c8a5e
Less copying in the JPX coder, merged and rebased
11 years ago
Rob Wu
2e97c0d085
Remove some unused variables from src/
...
Only obviously useless, local variables have been removed.
11 years ago