vyv03354
521723a9b5
Support non-BMP characters contained in embedded fonts
12 years ago
Yury Delendik
133d5cf8d2
Workaround for Chrome's issue 174023
12 years ago
Yury Delendik
d13aa38c9c
Enforces quotmark=single for jshint
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
Jon Buckley
3793ca5283
Issue #2008 - Fix lint errors for src/fonts.js
12 years ago
Yury Delendik
e5a6246f70
Fixes cmap sanitizer fro #215
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
5bffd2e7d8
Implement 9.6.6.4 of pdf spec for truetype fonts
12 years ago
Mike Kamermans
86c6bf1a67
changed the type1font cff wrapping to use offsets 391,392... instead of 0,1... for pointing to strings in the String INDEX
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
vyv03354
a254de86fb
CFF parser didn't count hints defined by hstem/vstem
12 years ago
vyv03354
0df411a3da
Fixes non-Japanese characters spacing
12 years ago
Brendan Dahl
dc914fe7ce
Fix normalized CID fonts for direct write 6.1.
12 years ago
vyv03354
38ffebc987
Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps
12 years ago
vyv03354
0980b4c322
Fix a problem about Japanese PDFs without embedded fonts
12 years ago
Brendan Dahl
b5278c5e27
Evaluate type 1 charstrings for conversion to type 2.
13 years ago
Brendan Dahl
2cbb35362e
Add support for more Type1 private dictionary entries.
13 years ago
Yury Delendik
aa93eac261
Fixes creation of OS/2 table
13 years ago
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
13 years ago
Yury Delendik
ccfa0e1972
Refactors encodeFloat and flex args
13 years ago
Yury Delendik
eca6c6cb5d
Disables *Blue* values when HINT_ENABLED == false
13 years ago
Brendan Dahl
a235ec1441
Use CFF compiler for building Type1 font.
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
Brendan Dahl
6ae135539d
Warn on opentype fonts.
13 years ago
Yury Delendik
b63da8bc82
Fixes encoding reading in CFF fonts
13 years ago
Yury Delendik
a0bc215a86
Removes comment per #2372
13 years ago
benbro
9841bc3e8e
Workaround for Private Use Area characters in Chrome on Windows
13 years ago
Nicolas Pierron
f5e8838bb0
Ensure the loop counter is not interpreted as a double.
...
This patch improves pure JavaScript performances by 30% by removing double computations from Type1Parser_extractFontProgram. When parseInt is fed with non numerical values, it returns a NaN which flows into the loop counter which cause every operation to be computed as a double and every index to be trunctated as an int before reading a character. This patch force the NaN value to be coerce as an integer by using a bitwise-or operation with zero.
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
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
13 years ago
Yury Delendik
68ab17e4a3
Cleaning name table
13 years ago
Yury Delendik
610215bada
Validate charstrings
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
8c3a82ff4d
Falls back to ErrorFont when font object is not available or corrupted
13 years ago
Yury Delendik
b09f0ccbaa
Adds Type1 sbw command support for horizontal fonts
13 years ago
Yury Delendik
b6ad7fd103
Defines at least one glyph if none was found
13 years ago
Yury Delendik
c129ecea8a
Partially reverts #2239 due to reftest fails
13 years ago
Yury Delendik
3ed6db69d0
Reducing parameter of Mac->Win heuristic
13 years ago
Yury Delendik
31b5f566d6
Fixes reading CFF with two .notdef in charset
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
62b2c5a030
Stops font processing when valid glyphs are absent in the font
13 years ago
Julian Viereck
f1e0edbaa9
Address Yurys review comments
13 years ago
Adil Allawi
5bc2934014
Handle normalization of Arabic Unicode Presentation Forms A to Arabic Unicode
13 years ago