Commit Graph

88 Commits

Author SHA1 Message Date
Artur Adib
676e575a52 Merge pull request #1218 from mozilla/bidi
bidi characters algorithm; separation of the toFontChar and toUnicode
2012-02-23 07:00:48 -08:00
Artur Adib
92e2723cbc Merge pull request #1199 from notmasteryet/tree-72
Remove lazy encoding initialization
2012-02-22 13:52:06 -08:00
notmasteryet
31d8d13ba2 Fix merge with symbol font fix (part 2) 2012-02-21 19:56:35 -06:00
notmasteryet
7cad586e63 Fix merge with symbol font fix 2012-02-21 18:27:31 -06:00
notmasteryet
a8cdbcf315 Merge remote-tracking branch 'mozilla/master' into bidi
Conflicts:
	src/fonts.js
2012-02-21 18:23:00 -06:00
Brendan Dahl
884ea5f028 Merge pull request #1244 from notmasteryet/issue-1243
Sets proper unicode range for symbols; sanitize no-glyphs fonts
2012-02-21 11:37:56 -08:00
Brendan Dahl
b9cd526a35 Remove bad chars instead of replaces all. 2012-02-20 15:49:45 -08:00
notmasteryet
a46a684935 Moving all symbolic font glyphs into 0xF000 - 0xF0FF range 2012-02-20 17:19:12 -06:00
notmasteryet
26b58c0e4f Properly build toFontChar 2012-02-20 14:26:30 -06:00
notmasteryet
b4e3554af2 Remove debug code 2012-02-20 13:00:45 -06:00
notmasteryet
28b4dac2d8 Merge remote-tracking branch 'mozilla/master' into bidi
Conflicts:
	web/viewer.html
2012-02-20 12:41:19 -06:00
Brendan Dahl
b6e4fc771f Fix bad chars in Type2CFF font names. 2012-02-19 22:12:22 -08:00
notmasteryet
2703f3f692 Fixing first glyph index 2012-02-18 19:18:54 -06:00
notmasteryet
5efccea2af Using the first glyph code to detect the base glyph offset. 2012-02-18 16:45:47 -06:00
notmasteryet
321750bba6 Sets proper unicode range for symbols; sanitize no-glyphs fonts 2012-02-18 15:01:53 -06:00
Brendan Dahl
0175f53637 Merge upstream. 2012-02-15 12:56:05 -08:00
notmasteryet
6c7e7df6da linting 2012-02-14 23:06:16 -06:00
notmasteryet
16bd59edf0 Separating fontChar and unicode 2012-02-14 23:00:09 -06:00
Brendan Dahl
9fe5eff905 Combining Yury's and my debugging tools. 2012-02-13 17:35:58 -08:00
notmasteryet
3cd4159489 Sanitizing the glyphs to avoid OTS rejections 2012-02-12 21:11:44 -06:00
notmasteryet
00f6f0e096 Remove lazy encoding initialization 2012-02-10 15:55:04 -06:00
Adil Allawi
2e1a88f39e Handle bidi ordering of PDF strings 2012-02-10 17:05:09 +00:00
notmasteryet
d50773fb96 Fixing ToUnicode parsing; workaround for invalid UTF16 encoding 2012-02-09 18:40:44 -08:00
Brendan Dahl
58a697697f Fix closing script tag. 2012-02-08 13:09:21 -08:00
Brendan Dahl
b3fb41caa9 Merge pull request #1106 from arturadib/issue-1049
fontMatrix parsing fix, setFont() supports negative sizes
2012-02-03 11:10:58 -08:00
Artur Adib
7873ec966b Merge branch 'refs/heads/master' into issue-1049
Conflicts:
	src/canvas.js
2012-01-31 13:20:05 -05:00
notmasteryet
5415fed14d Mapping well-known chars to the similar equivalents in the normal characters range 2012-01-27 20:36:27 -06:00
notmasteryet
10a0a60f8e Fixing symbols encoding 2012-01-27 18:53:05 -06:00
notmasteryet
dd066f8369 Fixing standard encoding mapping 2012-01-26 18:51:58 -06:00
Artur Adib
b34c55cc3c Use ES5 .trim() 2012-01-23 15:29:15 -05:00
notmasteryet
c6662d12e1 Changing glyphNameMap and GlyphUnicode lookup order 2012-01-21 17:18:36 -06:00
Artur Adib
86de8aca33 Nit 2012-01-20 16:25:06 -05:00
Artur Adib
66eff7a5cb more robust fontMatrix parsing, error checking 2012-01-20 14:55:52 -05:00
Artur Adib
d9f1365b9c Merge pull request #1092 from notmasteryet/issue-940
Fixes type2 fonts conversion
2012-01-19 06:59:35 -08:00
Artur Adib
ee8c86d2b6 Merge pull request #1086 from notmasteryet/issue-1084
Use .sheet property instead of document.styleSheets
2012-01-18 09:25:37 -08:00
notmasteryet
85a0eccc7e Fallback map of the "non-standard" fonts 2012-01-16 18:10:48 -06:00
notmasteryet
2927f5e7bd Fixes type2 fonts conversion (#940) 2012-01-16 14:13:38 -06:00
notmasteryet
8b52b50c67 Use .sheet property instead of document.styleSheets 2012-01-15 15:19:51 -06:00
notmasteryet
09dfde69a2 Duplicate short map into private use area 2012-01-10 22:01:24 -06:00
notmasteryet
933be30c3a Converting MacRoman symbols to Unicodes 2012-01-10 19:41:45 -06:00
notmasteryet
550819b829 fix serif and symbol attribute detection for standard fonts 2012-01-09 21:15:18 -06:00
notmasteryet
a84fa13189 using font flags to recognize the symbol and serif fonts; using the encoding instead of predefined MacRoman in TrueType fonts 2012-01-09 19:36:24 -06:00
Christian Legnitto
03e39363b6 Add the style element to the head rather than first element in the document, as the first element could be a comment and this would line would then throw 2012-01-02 21:40:43 -08:00
notmasteryet
45ef8742ac type3 font.coded comment; proper geometery for showText; glyph name 2011-12-13 18:28:02 -06:00
notmasteryet
bed87284db Fixing Type3 text layer creation and character spacing 2011-12-12 21:32:20 -06:00
notmasteryet
315b089b28 (#919) Fixing toUnicode mapping for TrueType fonts with identity mapping 2011-12-09 21:21:58 -06:00
Brendan Dahl
853f16085f Merge pull request #909 from notmasteryet/tree-45
Fixing TrueType code-glyph assigmnent to pass sanitizer
2011-12-09 17:22:47 -08:00
notmasteryet
240bde97b2 Using 'in' instead of array index 2011-12-09 18:25:44 -06:00
Kalervo Kujala
cd01302de8 Merge remote-tracking branch 'upstream/master' into style
Conflicts:
	src/image.js
	src/pattern.js
2011-12-09 00:28:31 +02:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00