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
p01
83cd530f45
Cleaner putBinaryImageData
11 years ago
p01
f70a072cde
Optimized CalGrayCS's convertToRgb
11 years ago
Tim van der Meij
4caf5b694e
Completes unit tests for PostScript evaluator and fixes two bugs in the evaluator itself
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
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
Jonas Jenwald
ad732f6403
Remove LegacyPromise
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
Yury Delendik
63d5aae3f6
Groups path commands into single command
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