Jonas Jenwald
caad87eba5
Remove LegacyPromise in src/core/pdf_manager.js
11 years ago
Jonas Jenwald
cb59e7f872
Remove LegacyPromise in src/shared/annotation.js
11 years ago
Tim van der Meij
6b9aeb34f1
Fixes rendering of PDFs with nested trailer dictionary
11 years ago
Yury Delendik
e45f4767dd
Fixes disableWorker regression
11 years ago
Yury Delendik
2b82eb0161
Fixes cancel rendering regression
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
Pramodh KP
0d5b41633f
Remove legacy promises from api.js
11 years ago
Jonas Jenwald
0fa154be4e
Amend GlyphMapForStandardFonts to fix issue 4276
11 years ago
Pramodh KP
04b1eefb1d
Added reject polyfill and PromiseCapability
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
Jonas Jenwald
ead5653cdc
Add integer conversion to RGB colour values in convertToRgb in DeviceCmykCS (issue 4443)
11 years ago
fkaelberer
11f565547c
Fix corrupted images #4649
11 years ago
Tim van der Meij
8d365b23ca
Force default icon size for Text annotations without appearance stream
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
Samuel Chantaraud
7a4543e348
Prevent the annotationLayer to be recreated when the page is redrawn
...
This allows interactive annotations to keep their states after a resize
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
Yury Delendik
a00f854848
Refactors buildImage to use Promise; don't draw bad images
11 years ago
Yury Delendik
2ca2c387fc
Creates make.js code to build jsdoc.
11 years ago
Joshua T Kalis
5828b2c687
Refactor - remove redundant function and all references
...
The function `assertWllFormed` was doing nothing different than `assert` which is
available in the same namespace. Removing it will lighten the filesize - albeit
very slightly - and reduce complexity.
11 years ago
Yury Delendik
65fa25ca36
Fixes number of glyphs in the generated font
11 years ago
Tim van der Meij
dd3df20a88
Makes PDF files load when xrefEntry is undefined
11 years ago
Yury Delendik
8c0762a32a
Adds then method to the RenderTask
11 years ago
Brendan Dahl
b242826d29
Fix seac regression.
11 years ago
Yury Delendik
175fbce0df
Fixes documentation for PDFPage.render
11 years ago
Yury Delendik
88c1747cc3
Heuristics to recognize the unknown glyphs for toUnicode
11 years ago
Tim van der Meij
f463f96f35
Resolving new lint issues
11 years ago
Tim van der Meij
4e055169ed
Fixes lint warning W004 in src/display/{api, canvas, pattern_helper}.js
11 years ago
Tim van der Meij
df91acf239
Fixes lint warning W004 in src/core
11 years ago
Tim van der Meij
10f80bda23
Fixes lint warning W004 in src/shared
11 years ago
Tim van der Meij
a71a87a821
Fixes lint warning W018: confusing use of exclamation mark
11 years ago
Yury Delendik
791c9a7b13
Relaxes murmurhash array requirement.
11 years ago
p01
b10aa18b3e
Use Opaque Canvas where possible
11 years ago
Yury Delendik
9c84bfa416
Fixes text-selection example
11 years ago
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
p01
b77e647f4f
JPX decoder 20-25% speed optimization
11 years ago
Jonas Jenwald
3a9b5b3951
Check that images have valid dimensions (issue 4575)
11 years ago