Commit Graph

15 Commits

Author SHA1 Message Date
Andreas Gal
1a51057417 make createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so we can use an upvar to collect the output 2011-06-19 15:58:02 -07:00
Andreas Gal
886054080e make createOpenTypeHeader and createTableEntry inner functions 2011-06-19 15:54:27 -07:00
Andreas Gal
f6e85f00cb add a closure around Font so we can hide helper functions in it 2011-06-19 15:46:58 -07:00
Andreas Gal
7bb098dfc7 don't use an array to translate from a typed array to a string, and always store font data as typed array, never as a stream 2011-06-19 15:30:55 -07:00
Andreas Gal
5afd963c8a handle surrogate pairs in glyph to unicode translation 2011-06-19 15:14:07 -07:00
Chris Jones
23e19c08b1 use strict mode and fix violators 2011-06-18 23:18:46 -07:00
Chris Jones
4c018956f2 mozMeasureText() is non-standard and deprecated 2011-06-18 22:04:36 -07:00
Andreas Gal
494227dfcc avoid toString conversion in lookup 2011-06-17 21:34:06 -07:00
Andreas Gal
d2e18d35b5 speedup unicode/glyph conversion and cache translated strings in the font 2011-06-17 21:22:37 -07:00
Andreas Gal
47a8303512 move cffStandardStrings into utils/ along with font_utils.js 2011-06-17 16:07:09 -07:00
Vivien Nicolas
1980f4ef42 Clean up some debug leftovers 2011-06-17 13:55:42 +02:00
Andreas Gal
416fc7865f 2nd attempt to make glyph list integers 2011-06-17 01:03:21 -07:00
Andreas Gal
995c825cc5 revert commit 2311c954f8 2011-06-17 00:46:27 -07:00
Andreas Gal
5625a667ff store unicode value as integer instead of hex string in glyphlist 2011-06-17 00:34:03 -07:00
Vivien Nicolas
446e958b5d Rename PDFFonts.js to fonts.js 2011-06-17 09:11:03 +02:00