mduan
81399ee068
Add support for GBK-EUC-H encoding for cid fonts
2013-01-30 09:35:52 -05:00
Yury Delendik
9af6e05456
Merge pull request #2615 from vyv03354/master
...
Fixes CFF parser failure when CharStrings contains cntrmask
2013-01-26 08:46:34 -08:00
Yury Delendik
df731e7d9d
Merge pull request #2527 from brendandahl/type1-charstrings
...
Evaluate type 1 charstrings for conversion to type 2.
2013-01-26 07:45:23 -08:00
vyv03354
a254de86fb
CFF parser didn't count hints defined by hstem/vstem
2013-01-26 22:08:45 +09:00
Yury Delendik
9a58bc9aba
Merge pull request #2581 from brendandahl/fix-cid
...
Fix normalized CID fonts for direct write 6.1.
2013-01-25 06:23:17 -08:00
vyv03354
0df411a3da
Fixes non-Japanese characters spacing
2013-01-24 01:23:22 +09:00
Brendan Dahl
dc914fe7ce
Fix normalized CID fonts for direct write 6.1.
2013-01-18 11:05:38 -08:00
vyv03354
38ffebc987
Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps
2013-01-16 21:58:18 +09:00
vyv03354
0980b4c322
Fix a problem about Japanese PDFs without embedded fonts
2013-01-12 11:18:44 -06:00
Brendan Dahl
b5278c5e27
Evaluate type 1 charstrings for conversion to type 2.
2013-01-09 17:33:59 -08:00
Brendan Dahl
3aea29c7aa
Merge pull request #2526 from yurydelendik/create-os2
...
Fixes creation of OS/2 table
2013-01-08 12:11:42 -08:00
Brendan Dahl
2cbb35362e
Add support for more Type1 private dictionary entries.
2013-01-08 10:44:39 -08:00
Brendan Dahl
7d9938df5f
Merge pull request #2520 from yurydelendik/disable-blues
...
Disables *Blue* values when HINT_ENABLED == false
2013-01-04 16:21:29 -08:00
Yury Delendik
aa93eac261
Fixes creation of OS/2 table
2013-01-04 11:41:24 -06:00
Brendan Dahl
bf0abd61d1
Merge pull request #2505 from yurydelendik/refactor-cff-float
...
Refactors encodeFloat, font matrix and flex args
2013-01-04 09:24:58 -08:00
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
2013-01-03 22:38:14 -06:00
Yury Delendik
ccfa0e1972
Refactors encodeFloat and flex args
2013-01-03 18:33:15 -06:00
Yury Delendik
eca6c6cb5d
Disables *Blue* values when HINT_ENABLED == false
2013-01-03 17:06:52 -06:00
Yury Delendik
089b60d848
Merge pull request #2463 from brendandahl/remove-cid-keys
...
Remove cid dictionary values for normalized fonts.
2013-01-03 10:24:49 -08:00
Brendan Dahl
a235ec1441
Use CFF compiler for building Type1 font.
2012-12-21 14:11:58 -08:00
Brendan Dahl
acf64b3164
Add support for hmoveto and vmoveto during flex.
2012-12-20 11:14:10 -08:00
Brendan Dahl
852ff7753b
Fix cff private dictionary key.
2012-12-14 12:44:39 -08:00
Brendan Dahl
575f2dd8b1
Remove cid dictionary values for normalized fonts.
2012-12-13 12:32:45 -08:00
Brendan Dahl
78498ce648
Merge pull request #2448 from yurydelendik/issue-2386
...
Fixes encoding in CFF fonts
2012-12-11 13:31:15 -08:00
Brendan Dahl
6ae135539d
Warn on opentype fonts.
2012-12-10 14:59:23 -08:00
Yury Delendik
b63da8bc82
Fixes encoding reading in CFF fonts
2012-12-09 12:57:40 -06:00
Yury Delendik
a0bc215a86
Removes comment per #2372
2012-12-07 14:28:17 -06:00
Yury Delendik
033545cc16
Merge pull request #2392 from benbro/master
...
Workaround for Private Use Area characters in Chrome on Windows
2012-11-16 14:23:26 -08:00
benbro
9841bc3e8e
Workaround for Private Use Area characters in Chrome on Windows
2012-11-16 23:49:02 +02:00
Brendan Dahl
9910699fac
Merge pull request #2385 from yurydelendik/issue-2374
...
Rejects post table if maxp numGlyph does not match
2012-11-16 13:46:11 -08:00
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.
2012-11-16 02:33:32 -08:00
Yury Delendik
0646d397eb
Rejects post table if maxp numGlyph does not match
2012-11-14 16:17:06 -06:00
Brendan Dahl
d302746c6b
Merge pull request #2352 from yurydelendik/issue-1718
...
Cleaning name table
2012-11-13 10:58:27 -08:00
Brendan Dahl
8d3980a43a
Merge pull request #2263 from yurydelendik/tables-removal
...
Attempt to remove vtmx, and vhea tables...
2012-11-13 09:30:40 -08:00
Yury Delendik
05148e8e7d
Removes vtmx and vhea tables; sanitizes fpgm and prep
2012-11-12 21:10:20 -06:00
Brendan Dahl
9f460a9a8f
Merge pull request #2251 from yurydelendik/validate-charstrings
...
Validates type2 charstrings
2012-11-12 11:53:04 -08:00
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
2012-11-10 14:59:13 -05:00
Yury Delendik
68ab17e4a3
Cleaning name table
2012-11-07 18:24:13 -06:00
Yury Delendik
610215bada
Validate charstrings
2012-11-07 13:56:17 -06:00
Yury Delendik
4da7be8d28
Verifies some of the OS2 font table fields
2012-11-07 11:11:36 -06:00
Yury Delendik
fbe3d71663
Re-creates invalid post table
2012-11-07 11:03:08 -06:00
Brendan Dahl
ece9cd15d2
Merge pull request #2249 from yurydelendik/issue-2234
...
Reducing parameter of Mac->Win heuristic
2012-10-19 17:01:00 -07:00
Brendan Dahl
c8cf4458c6
Merge pull request #2245 from yurydelendik/issue-1912
...
Fixes reading CFF with two .notdef in charset
2012-10-16 09:24:21 -07:00
Brendan Dahl
336d5041dd
Merge pull request #2243 from yurydelendik/issue-1233
...
Removes useless font tables for PDF rendering
2012-10-15 17:04:28 -07:00
Brendan Dahl
d76f4d735f
Merge pull request #2244 from yurydelendik/issue-2074
...
Fixes cmap when 0xFFFF character is included
2012-10-15 16:27:37 -07:00
Brendan Dahl
c67cc874e8
Merge pull request #2215 from yurydelendik/issue-1836
...
Falls back to ErrorFont when font object is not available or corrupted
2012-10-15 11:51:09 -07:00
Brendan Dahl
846038991c
Merge pull request #2214 from yurydelendik/issue-1859
...
Adds Type1 sbw command support for horizontal fonts
2012-10-15 10:07:36 -07:00
Yury Delendik
8c3a82ff4d
Falls back to ErrorFont when font object is not available or corrupted
2012-10-15 11:48:45 -05:00
Yury Delendik
b09f0ccbaa
Adds Type1 sbw command support for horizontal fonts
2012-10-15 11:40:55 -05:00
Yury Delendik
b6ad7fd103
Defines at least one glyph if none was found
2012-10-15 11:08:50 -05:00