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
Jonas Jenwald
811f1b1d05
Workaround for cases where FontName in the FontDescriptor differs from BaseFont in the Font (bug 847420)
11 years ago
Christian Krebs
79f34b183c
Treat fonts with the same font descriptor, encoding and unicode map as aliases
...
Different fonts can point to the same font descriptor
(see https://github.com/mozilla/pdf.js/issues/4339 for details). With this
commit such fonts are treated as aliases if they have also the same encoding
and the same toUnicode map. The according info is stored on the font descriptor.
This change must also ensure that aliases use always the same font name
because translated fonts can get cleared depending on the CLEANUP_TIMEOUT setting.
11 years ago
Jonas Jenwald
9e6c66be12
Handle 'space' character correctly in WinAnsiEncoding (bug 850854)
11 years ago
Jonas Jenwald
8fc4ebd5cb
Handle 'space' character correctly in MacRomanEncoding (bug 878026)
11 years ago
fkaelberer
2982de8f33
Use Stream instead of byte array access
11 years ago
fkaelberer
1ccc8a64b7
Read color info from JPX stream
...
Fix colors problem #4540 + minor cleanup
fix lint warnings
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Yury Delendik
944219ad8a
Balance smask process chunking
11 years ago
Yury Delendik
1e8d70af98
Prescales shading pattern packed data indices
11 years ago
Yury Delendik
5262e6f84f
Set max size for the group
11 years ago
fkaelberer
4ee35b0d46
Fix typo/unused argument in fontloader.js->spliceString()
11 years ago
Jonas Jenwald
772df5e0cb
Workaround for missing 'Rect' entry in annotation dictionaries (issue 4537)
11 years ago
Jonas Jenwald
08eb9a960a
Avoid drawing text when the font size is zero (issue 4484)
11 years ago
fkaelberer
c978c026fa
clean up string conversion functions
11 years ago
Jonas Jenwald
7e7b728b5d
Assign non-zero width/height to all rectangles (issue 4260)
11 years ago
Yury Delendik
1d0286f6a1
Update util.js
...
Fixes comments for preprocessor
11 years ago
Yury Delendik
31f081ae17
Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage
11 years ago
p01
4e6ebf2de0
Optimized putBinaryImageData for GRAYSCALE_1BPP
...
The following changes make putBinaryImageData 2.2x faster.
* Use a Uint32Array to draw whole pixels instead component by component
* Unroll the inner most loop
* Added lazy PDFJS.hasCanvasTypedArrays, PDFJS.isLittleEndian and compatibility
Uint32ArrayView for browsers using the old CanvasPixelArray
11 years ago
Manas (prometheansacrifice)
3025445cbe
Fix for #3181 : jbig2 encoding for number of instances greater than 1
11 years ago
Jonas Jenwald
6883362a84
Fix coding style in src/core/stream.js
11 years ago
Jonas Jenwald
67b5c8868c
Fix coding style in src/core/worker.js
11 years ago
Jonas Jenwald
75de115938
Fix coding style in src/core/font_renderer.js
11 years ago
Jonas Jenwald
131a16b65e
Fix coding style in src/core/core.js
11 years ago
Jonas Jenwald
53bbdcb0a1
Fix coding style in src/core/chunked_stream.js
11 years ago
Tim van der Meij
c6a06c0f16
Making src/core/evaluator.js adhere to the style guide
11 years ago
Jonas Jenwald
66e243f506
Fix coding style in src/core/fonts.js
11 years ago