mduan
b718a3604a
Default to a built-in font if an invalid non-embedded font is encountered
12 years ago
mduan
5ab3bb1e03
Skip commands that have too few arguments
...
- Commands that have too few args will be skipped
- Commands that have too many args will generate an info, but still
execute
12 years ago
mduan
fadcb71c21
Handle missing 'FontName' entry in FontDescriptor object
12 years ago
vyv03354
bff75fa629
Added a test PDF having Identity-H encoding without embedded font
12 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
12 years ago
mduan
eb8f4e8343
Handle some illegal characters in hex string
...
Do not throw exception when hex strings are in the wrong format
Currently pdf.js is throwing an exception for the following hex string:
`<7 0 2 15 5 2 2 2 4 3 2 4>`
The issue is that the 15 is not a valid hex character so pdf.js ends up
throwing an exception.
This diff changes the parser to process the above hex string as follow:
`70 21 55 2 24 32` (Note: the final 4 of the hex string is ignored)
replicating the behaviour of MuPDF, and doesn't throw an exception.
12 years ago
Brendan Dahl
789ccc0714
Temporarily remove cid_cff test file.
12 years ago
Brendan Dahl
acf64b3164
Add support for hmoveto and vmoveto during flex.
13 years ago
Brendan Dahl
852ff7753b
Fix cff private dictionary key.
13 years ago
Brendan Dahl
575f2dd8b1
Remove cid dictionary values for normalized fonts.
13 years ago
Yury Delendik
0e70aacc51
Tests presence of the xhr-response in the worker
13 years ago
Brendan Dahl
9e507063ca
Start of the stat utilities.
13 years ago
Yury Delendik
b63da8bc82
Fixes encoding reading in CFF fonts
13 years ago
Brendan Dahl
50e21bb103
Log user agent for reference tests.
13 years ago
Yury Delendik
a7f0e9612a
Using setDash for dashed lines
13 years ago
Yury Delendik
bcbc21a51c
Fixes feature tests titles
13 years ago
Yury Delendik
10f37f7e40
PDF.js features testing
13 years ago
Yury Delendik
0dc137a0df
Refactors Lab CS; uses different conversion for D50 and D65; adds getRgbItem
13 years ago
Yury Delendik
2c87a6467b
Fixes function array support for radial/axial pattern
13 years ago
khodzha
18da086b96
fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests
13 years ago
Yury Delendik
0646d397eb
Rejects post table if maxp numGlyph does not match
13 years ago
Yury Delendik
05148e8e7d
Removes vtmx and vhea tables; sanitizes fpgm and prep
13 years ago
Yury Delendik
4da7be8d28
Verifies some of the OS2 font table fields
13 years ago
Yury Delendik
fbe3d71663
Re-creates invalid post table
13 years ago
Yury Delendik
725195b65f
Fixes compressed object entries caching
13 years ago
Yury Delendik
35af48123a
Fixes stream loading for XRefStm
13 years ago
Yury Delendik
5afec33956
Adds ttx test harness
13 years ago
Brendan Dahl
a2b2ecaa29
Fix the initialization of the first page for multiple testing rounds.
13 years ago
Yury Delendik
4c533d065d
Fixes incomplete restore in paintFormXObject
13 years ago
Yury Delendik
9b7a78ea1a
Ignore test log files
13 years ago
Yury Delendik
4c0f9eb924
Fixes getNumber at the end of stream
13 years ago
Yury Delendik
ee16090bc2
Fixes test pdfs MD5; make server does not download
13 years ago
Brendan Dahl
66563d0f95
Increase wait timeout for api unit tests.
13 years ago
Yury Delendik
ab058dbe75
Fixes text clipping
13 years ago
Yury Delendik
31b5f566d6
Fixes reading CFF with two .notdef in charset
13 years ago
André Fiedler
28216d4f6b
Test file for issue 2074
13 years ago
Yury Delendik
7ea87c875e
Fixes cmap when 0xFFFF character is included
13 years ago
Yury Delendik
e4c8121ed4
Suppresses useless for PDF rendering font tables
13 years ago
Yury Delendik
b5f952a63a
Fixes font debugger; text builder api refactoring
13 years ago
Julian Viereck
f1e0edbaa9
Address Yurys review comments
13 years ago
Julian Viereck
e48530d391
Fix AppendText after API changes
13 years ago
Julian Viereck
049b19264c
Make lint happy again
13 years ago
Julian Viereck
e7894ca07d
Fix the driver.js file to handle new TextLayer infrastructure
13 years ago
Julian Viereck
e6427dc409
Add test coverage for simpletype3font test PDF
13 years ago
Yury Delendik
ac7b6aeff4
Provides right fallback fonts for text layer
13 years ago
Yury Delendik
3fed93d808
Adds text layer testing
13 years ago
Yury Delendik
a9b1301ed6
Sync with m-c http://hg.mozilla.org/mozilla-central/rev/162130598df0
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Yury Delendik
e32ecc44d3
Fixes CFF test and CFF int16 parsing
13 years ago
Yury Delendik
6a07913ca2
Fixes 1810 reftest address
13 years ago