Commit Graph

293 Commits

Author SHA1 Message Date
Vivien Nicolas
6a518d53fe Be more generic for bold/italic rules 2011-09-10 16:47:58 +02:00
Vivien Nicolas
574bc87741 Fix a small Type1 encoding parsing error that cause the first Type1 font of the Type1 spec to be rejected 2011-09-10 14:50:46 +02:00
Vivien Nicolas
6329f89982 Simplify the cmap format 6 conversion - fix #449 2011-09-10 13:41:07 +02:00
Vivien Nicolas
5cb2a07b3d Fix an issue with the vhea/vmtx tables 2011-09-09 16:37:56 +02:00
Vivien Nicolas
841fabd4e9 Fix wrong spacing for format 6 2011-09-09 14:38:09 +02:00
Vivien Nicolas
a89e7331f4 Add a comment for using unit-per-em in the measureText() method 2011-09-09 14:26:24 +02:00
Vivien Nicolas
0ea9411f69 Prevent missing charcode to block the rendering 2011-09-09 13:32:54 +02:00
Vivien Nicolas
d4fb9c786c Use the built-in widths to calculate glyphs metrics 2011-09-09 01:35:37 +02:00
Vivien Nicolas
567be29720 Add more glue between glyph mapping and code mapping 2011-09-08 03:16:33 +02:00
Vivien Nicolas
4d2b8ea1c8 Refactor translateFont() to be more readable - part2 2011-09-07 19:34:53 +02:00
Vivien Nicolas
8c21f53c98 Refactor translateFont() to be more readable 2011-09-07 18:00:38 +02:00
Vivien Nicolas
12ef21cbbe Fix lenIV misreading and warn instead of stop for unimplemented Type1 commands 2011-09-07 15:20:23 +02:00
notmasteryet
d72178d6dd Merge pull request #447 from vingtetun/serif
Add a list of common serif fonts to not always fallback on sans-serif
2011-09-06 17:33:18 -07:00
notmasteryet
f8866b37a4 Merge pull request #448 from kkujala/master
Use radix in parseInt function calls.
2011-09-06 16:33:40 -07:00
Kalervo Kujala
0b19fd5251 Use radix in parseInt function calls. 2011-09-07 01:39:48 +03:00
Vivien Nicolas
ea42fd69e4 Add a list of common serif fonts to not always fallback on sans-serif if the font file is missing 2011-09-07 00:29:08 +02:00
Vivien Nicolas
0e062668e9 Fix review comments from #424 2011-09-07 00:19:58 +02:00
Vivien Nicolas
b1a85c6229 Fix cmap encoding records to pass the sanitizer in the case of a duplicate platform: 1, encoding: 0 2011-09-06 15:12:33 +02:00
Vivien Nicolas
f7ee90cc8c Fix review comments for #436 2011-09-06 02:28:06 +02:00
Vivien Nicolas
83f930abd6 Add '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1 spec 2011-09-05 22:09:40 +02:00
Vivien Nicolas
3c77972b8e Length[1-2] can be a reference 2011-09-05 21:01:39 +02:00
Vivien Nicolas
cea0408067 Do not add kCmapGlyphOffset to Type1C mapping unless it is necessary 2011-09-05 18:04:41 +02:00
Vivien Nicolas
9701f934ed Move all format 0 characters to the private area 2011-09-05 17:30:01 +02:00
Vivien Nicolas
5970020f3b Fix wrong mapping for issue #434 2011-09-05 15:36:38 +02:00
Vivien Nicolas
b1a5ab6d0f Fix regression on i9.pdf 2011-09-05 14:35:03 +02:00
Vivien Nicolas
e1f7edfae8 Add a comment about supporting hint replacement 2011-09-02 15:26:16 +02:00
Vivien Nicolas
5f99e398f4 Be more flexible about Subrs parsing 2011-09-02 14:21:48 +02:00
Vivien Nicolas
18661debdc Use lenIV to read the subrs section 2011-09-02 13:37:39 +02:00
Vivien Nicolas
e26b5b3b00 Show Type1 glyphs below 0x20, fix a bug in readNumberArray, read lenIV 2011-09-01 19:50:04 +02:00
Vivien Nicolas
00d2366d1d Simulate Arial Black and Arial Narrow 2011-09-01 04:06:33 +02:00
Vivien Nicolas
81e1485e14 Address review comment for pull #419 2011-09-01 01:16:40 +02:00
Vivien Nicolas
59c4ba0fb9 Fix for issue #418 2011-08-31 23:26:34 +02:00
Vivien Nicolas
763bd7059a Fix a warning when the destination link point to nothing 2011-08-31 14:17:57 +02:00
Vivien Nicolas
19c6cef7cc Address review comments of #409 2011-08-31 13:42:10 +02:00
Vivien Nicolas
8145c00215 Fix another regression on pdf.pdf#5 2011-08-31 02:18:13 +02:00
Vivien Nicolas
ec1a8e98cf Fix PDF reference regression 2011-08-31 01:48:56 +02:00
Vivien Nicolas
3fd2f42a50 Lie to the sanitizer about the real nature of Type1C font 2011-08-31 01:23:55 +02:00
Vivien Nicolas
76f6398e47 Fix some strict warnings 2011-08-31 00:37:39 +02:00
Vivien Nicolas
f6e14010f1 Fix regression mapping from gid to glyph from the last commit 2011-08-31 00:12:00 +02:00
Vivien Nicolas
395a46c85e Support Type1C built-in encoding - part1 2011-08-30 19:52:24 +02:00
Vivien Nicolas
55d04c0cd9 Adjust precision to have correct widths for arial tests documents 2011-08-30 04:00:03 +02:00
Vivien Nicolas
341de1ff42 Clean up encoding parsing 2011-08-30 02:34:35 +02:00
Vivien Nicolas
6a7b37ab68 Fix a little typo 2011-08-30 01:03:39 +02:00
Vivien Nicolas
e58b076eab Fix a little typo 2011-08-30 00:59:37 +02:00
Vivien Nicolas
b4f3ceef85 Merge remote branch 'upstream/master' 2011-08-30 00:56:20 +02:00
Vivien Nicolas
95ccb38283 Clean up a bit the encoding/charset/glyphs dance 2011-08-30 00:56:02 +02:00
notmasteryet
39894f98b2 Fixing iframe's parent for postMessage in the font loading hack 2011-08-27 13:14:51 -05:00
Kalervo Kujala
edd92c9db2 Fix gjslint errors. 2011-08-26 23:55:14 +03:00
Vivien Nicolas
57b3d28f8f Merge remote branch 'upstream/master' 2011-08-26 17:19:53 +02:00
Vivien Nicolas
4a320705c0 Fix wrong dict data offset when there is many charstrings 2011-08-26 17:18:18 +02:00