Ophir LOJKINE
4a66eccedc
Rewrite Lexer_getNumber.
...
Now, it computes the numbers with only basic arithmetic operations, without first creating a string and then calling parseFloat.
The new function doesn't behave exactly the same as the old one.
In particular, the old behaviour was that when there was a number immediatly followed by an 'E', the 'E' was consumed. Now it's not. It allows for "glued" numbers and operators.
Also, the new function is faster and consumes less memory.
11 years ago
Yury Delendik
a583c319a1
Implements shading types 4-7
11 years ago
Yury Delendik
e9327050c3
Basic function.js split
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Jonas Jenwald
575bdd8863
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
11 years ago
Yury Delendik
96fff4cc74
Refactors getTextContent return value
11 years ago
Yury Delendik
09f8f951c8
Extracts evaluator preprocessor and refactor text extraction
11 years ago
Brendan Dahl
edce4550db
Fix reftest analyzer naming(again).
11 years ago
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
11 years ago
Brendan Dahl
fd139324ef
Label ref test analyzer images.
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Yury Delendik
51b958dc2b
Adds glyph mapping for standard fonts
11 years ago
Yury Delendik
5973d40afe
Adjusts heuristic for disabling Symbol encoding
11 years ago
Kalervo Kujala
4c040dd955
calgray: fix getRgbBuffer problem
...
This fixes issue 3903.
11 years ago
Jonas Jenwald
e6c805490b
[JBIG2] Fix getting decodeParms when it's an array
12 years ago
Rob Wu
4ff1d45f16
Add pdf from issue 3885 to tests
...
Source: https://www.dropbox.com/s/ooqk82fq0gr5p6f/test-min-notext-opt.pdf
12 years ago
J. Ryan Stinnett
ea0ca0f810
Clean up test PDF references
12 years ago
Jonas Jenwald
b1c5ef9ccc
Fix loading of fonts that are not referenced by an object identifier
12 years ago
Yury Delendik
2b63cd7e62
Allocates bigger hashData buffer
12 years ago
Jonas Jenwald
564ae6e4f7
Prevent updating the current transformation matrix when the stateStack is empty
12 years ago
Yury Delendik
4ce6cb8b0f
Uses postMessage transfers
12 years ago
Brendan Dahl
c2d65fc4ab
Don't traverse all pages to get a single page.
12 years ago
Yury Delendik
82a9a13e5f
Fixes glyphs with invalid flags
12 years ago
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Yury Delendik
57e2a667ee
Fixes cvt table length; removes cvt when hints invalid
12 years ago
Sriram
8dad6d6e8a
Fix word spacing in Type 0 fonts
...
Fix word spacing in Type 0 font
correct word spacing
correct word spacing in type 0 font
fix word spacing
12 years ago
Jonas Jenwald
4ae3802484
Fix undefined group bounding box
12 years ago
Yury Delendik
175341cb0d
Resizes loca table when needed
12 years ago
Yury Delendik
93076ced03
Ignoring glyphs without points
12 years ago
Yury Delendik
bbda42110b
Skipping empty font tables
12 years ago
Yury Delendik
bb2570c9c1
Removes duplicate entries after reading cmap table
12 years ago
Yury Delendik
cd44093891
Workaround for some bad Type1 data
12 years ago
Yury Delendik
95d9107d8b
Fixes reading Type1 FontBBox data for usWin values
12 years ago
Yury Delendik
83e17c2953
Avoiding 'pc is undefined' failures
12 years ago
Kalervo Kujala
a5bf02573d
Implement initial CalGray support
...
Gamma and Whitepoint are supported in this patch for CalGray.
Blackpoint is not supported.
12 years ago
Brendan Dahl
29b89f1f1e
Intersect group bounding box with the current canvas dimensions.
12 years ago
Brendan Dahl
f79c182314
Proper glyph selection for CIDFontType0C fonts.
12 years ago
Sriram
f6eee819e2
Transposed feature for text decoding in jbig2
12 years ago
Brendan Dahl
f32e65b19f
Read multi-byte character codes based on codespace ranges.
12 years ago
Brendan Dahl
730a2cc550
Increase api unit tests timeout for chrome.
12 years ago
Yury Delendik
1f232ded90
Stops objects indexing at the end
12 years ago
Brendan Dahl
db591769a4
Fix handling of multiply-encoded glyphs.
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Jonas
628f4aaf81
Enable loading of PDFs with undefined or missing stream lengths
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Tim van der Meij
b2b922b866
Support for CMap GBKp-EUC-H
12 years ago
Jonas
d90ad429f6
Enable loading of PDFs with invalid document information dictionaries
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Yury Delendik
34177b01a4
Fixes glyph 0 in CIDTypeFont2
12 years ago
Brendan Dahl
2aecbe874e
Paint patterns relative to content base transformation.
12 years ago