Jon Buckley
442bd8bd5a
Issue #2654 - Lint with Travis-CI
12 years ago
Jon Buckley
19dbeaa23e
Issue #2008 - Add jshint
12 years ago
Yury Delendik
2d453b4ba4
Tests for issue 2627
12 years ago
mduan
e4c3b4501d
Sanitization of truetype fonts to fix #2537
12 years ago
mduan
0527b8bc8d
Fix invalid version number in truetype 'head' table
12 years ago
mduan
d0c4854c2d
Indent code in test.py properly
12 years ago
mduan
48c15b70db
Make firstPage work in test_manifest.json + rename pageLimit -> lastPage
12 years ago
mduan
5bffd2e7d8
Implement 9.6.6.4 of pdf spec for truetype fonts
12 years ago
mduan
81399ee068
Add support for GBK-EUC-H encoding for cid fonts
12 years ago
vyv03354
a8aed74431
Add Hankaku-Latin cid to Unicode mappings
12 years ago
Brendan Dahl
aa23916326
Switch to threaded python server for tests.
12 years ago
vyv03354
a254de86fb
CFF parser didn't count hints defined by hstem/vstem
12 years ago
Yury Delendik
693d8a11b2
Fixes feature tests misleading success results
12 years ago
vyv03354
0df411a3da
Fixes non-Japanese characters spacing
12 years ago
mduan
b718a3604a
Default to a built-in font if an invalid non-embedded font is encountered
12 years ago
vyv03354
2ef50c5068
Added tests for PDFs having 'H', 'EUC-H', and '90ms' encodings
12 years ago
mduan
317db2e7c6
Do not error when an EndOfPage segment is encountered in jbig2
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
Brendan Dahl
b5278c5e27
Evaluate type 1 charstrings for conversion to type 2.
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.
13 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
61cdbf16a4
Replaces rsync to cp (to support Windows)
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