254 Commits (395a46c85e69c653162ac4cadb67409fbdfdb6dc)

Author SHA1 Message Date
Andreas Gal 631b5df2c3 in preparation for using strings to write out font data, store constant blobs as strings 14 years ago
Andreas Gal a118f9035a in preparation for using strings to write out font data, store constant blobs as strings 14 years ago
Andreas Gal f337d6105c write OTF header using a string, not an array 14 years ago
Andreas Gal c09ee48094 write OTF header using a string, not an array 14 years ago
Andreas Gal e46a88b1dc rename conver to convert 14 years ago
Andreas Gal bb40d20eae rename conver to convert 14 years ago
Andreas Gal d3923569de make createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so we can use an upvar to collect the output 14 years ago
Andreas Gal 1a51057417 make createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so we can use an upvar to collect the output 14 years ago
Andreas Gal 458625d656 make createOpenTypeHeader and createTableEntry inner functions 14 years ago
Andreas Gal 886054080e make createOpenTypeHeader and createTableEntry inner functions 14 years ago
Andreas Gal 75ad5aa016 add a closure around Font so we can hide helper functions in it 14 years ago
Andreas Gal f6e85f00cb add a closure around Font so we can hide helper functions in it 14 years ago
Andreas Gal 5001ee7120 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 14 years ago
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 14 years ago
Andreas Gal d515d5ab7c handle surrogate pairs in glyph to unicode translation 14 years ago
Andreas Gal 5afd963c8a handle surrogate pairs in glyph to unicode translation 14 years ago
Vivien Nicolas bf835f7aa5 Really pass the sanitizer (encoding is broken) 14 years ago
Vivien Nicolas ca61249db1 Really pass the sanitizer (encoding is broken) 14 years ago
Vivien Nicolas 8a24a967c3 Make Helvetica and Helvetica bold from page 2 to pass the sanitizer 14 years ago
Vivien Nicolas c1fc38725a Make Helvetica and Helvetica bold from page 2 to pass the sanitizer 14 years ago
Chris Jones 92fa629d10 use strict mode and fix violators 14 years ago
Chris Jones 23e19c08b1 use strict mode and fix violators 14 years ago
Chris Jones d4a42a4e79 mozMeasureText() is non-standard and deprecated 14 years ago
Chris Jones 4c018956f2 mozMeasureText() is non-standard and deprecated 14 years ago
Vivien Nicolas 7e3c1340ff Re-enable TrueType and add a TODO about translating the ToUnicode entry (note TrueType still fails on cmap) 14 years ago
Vivien Nicolas b0cde50e21 Re-enable TrueType and add a TODO about translating the ToUnicode entry (note TrueType still fails on cmap) 14 years ago
Vivien Nicolas a46ebe73ff Ask chromium to shut up on font/otf mimetype by using another wrong mimetype and fix a few more 'strict mode' errrors 14 years ago
Vivien Nicolas 0ddf9a56a0 Ask chromium to shut up on font/otf mimetype by using another wrong mimetype and fix a few more 'strict mode' errrors 14 years ago
Vivien Nicolas e62bd48a9e Use strict mode for js files 14 years ago
Vivien Nicolas f4282f9802 Use strict mode for js files 14 years ago
Vivien Nicolas 59bd7620de Fill informations for the 'name' table in order to pass the sanitizer (Mozilla bug 660088) 14 years ago
Vivien Nicolas dd5c87dfdc Fill informations for the 'name' table in order to pass the sanitizer (Mozilla bug 660088) 14 years ago
Vivien Nicolas 8d9ffb1872 Use measureText instead of mozMeasureText (deprecated) 14 years ago
Vivien Nicolas f1e8b23f30 Use measureText instead of mozMeasureText (deprecated) 14 years ago
Andreas Gal 6dc697071e avoid toString conversion in lookup 14 years ago
Andreas Gal 494227dfcc avoid toString conversion in lookup 14 years ago
Andreas Gal 5517602df0 speedup unicode/glyph conversion and cache translated strings in the font 14 years ago
Andreas Gal d2e18d35b5 speedup unicode/glyph conversion and cache translated strings in the font 14 years ago
Andreas Gal 735bfa5972 move cffStandardStrings into utils/ along with font_utils.js 14 years ago
Andreas Gal 47a8303512 move cffStandardStrings into utils/ along with font_utils.js 14 years ago
Vivien Nicolas 21ee01eb7c Fix wrong order of the 'div' command 14 years ago
Vivien Nicolas a705db84b0 Fix wrong order of the 'div' command 14 years ago
Vivien Nicolas 172dadb008 Clean up some debug leftovers 14 years ago
Vivien Nicolas 1980f4ef42 Clean up some debug leftovers 14 years ago
Andreas Gal fd269facbc 2nd attempt to make glyph list integers 14 years ago
Andreas Gal 416fc7865f 2nd attempt to make glyph list integers 14 years ago
Andreas Gal 4184414501 revert commit 2311c954f8 14 years ago
Andreas Gal 995c825cc5 revert commit 2311c954f8 14 years ago
Andreas Gal 2311c954f8 store unicode value as integer instead of hex string in glyphlist 14 years ago
Andreas Gal 5625a667ff store unicode value as integer instead of hex string in glyphlist 14 years ago