66 Commits (f08bff5578b689cf63257fa13dbd3be75b200d5f)

Author SHA1 Message Date
Andreas Gal f317eae084 nits 14 years ago
Vivien Nicolas 3d85caa212 Do not add the font-loader canvas to the page dom to save some load time 14 years ago
Vivien Nicolas 3955ed1b4c Fix a bunch of warnings from Firebug strict mode 14 years ago
Vivien Nicolas 86f197daba Start adding a FontLoader class to isolate the font-loaded hack 14 years ago
Vivien Nicolas 40006194ea Don't read the lsb instead of the width 14 years ago
Vivien Nicolas d704bfacf4 Fix Windows 'hmtx' bust table 14 years ago
Vivien Nicolas 0a18434a2d Remove some useless var 14 years ago
Julian Viereck b47ec059c7 Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker. 14 years ago
Julian Viereck 171ab51c56 Ensure divs used to make fonts load are not visible 14 years ago
Julian Viereck 78129970c6 Change postMessage to send only one object that holds the action and data. 14 years ago
Julian Viereck 229edf24d4 First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 14 years ago
Julian Viereck b151516416 Introduce ImageCanvas to handle canvas rendering in WebWorker 14 years ago
Julian Viereck d9424a7135 Make fonts getting loaded by a very nasty hack 14 years ago
Julian Viereck a8dcb0dcd6 Most working, but once you add the font-css file to the web page, there is no font drawn at all 14 years ago
Vivien Nicolas b9a53361f8 Remove some hardcoded glue 14 years ago
Vivien Nicolas 873d6df1f5 Fix bustage of the previous commit 14 years ago
Vivien Nicolas 59e178946a Add a createPostTable function and remove the useless join('') calls 14 years ago
Chris Jones 35b6569f5e fix strict-mode violations in chrome 14 years ago
Vivien Nicolas 5f82fc46bf Fill more gaps for Format 6 dense array 14 years ago
Vivien Nicolas 4f7fb7539b Enhance the converter code by filling Format 6 dense array gaps 14 years ago
Vivien Nicolas e9ed96d97c Start of a TTF Format6 to Format4 converter (sigh) 14 years ago
Vivien Nicolas 595a384ca7 Support Format 6 cmap table, but does not pass the sanitizer yet 14 years ago
Vivien Nicolas 34357eac19 Start displaying TrueType fonts 14 years ago
Vivien Nicolas 2315131b90 Get rid of the TrueType class, adapt the code to conventions and new code 14 years ago
Vivien Nicolas aa7e1ac6d6 Add a name to some anonyous functions 14 years ago
Vivien Nicolas 8523896023 Rename s2a, s16, s32 and do some dance inside the bind() code 14 years ago
Vivien Nicolas 2feec66b74 Add a way to disable fonts that won't load 14 years ago
Andreas Gal f3fcbd0fbc remove remaining uses of integerToBytes in type1 font code 14 years ago
Andreas Gal 0c948d7b06 assemble cmap table from strings instead of arrays 14 years ago
Andreas Gal 32880025fc write font cmap using a string 14 years ago
Andreas Gal e97f74f6e3 simplify glyph segment writing code 14 years ago
Andreas Gal 5f75130fbf store ranges as [start, end], instead of storing all codes 14 years ago
Andreas Gal 52e1631030 use Array.sort to calculate glyph ranges instead of large typed arrays 14 years ago
Vivien Nicolas c345a4c75e Add more TrueType rewriting magic ('post' table) 14 years ago
Vivien Nicolas 5c4f26019e Check for more missing tables in TrueType (sigh) 14 years ago
Andreas Gal 4fc8a1fa75 make createCMAPTable a nested function function 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 c09ee48094 write OTF header using a string, not an array 14 years ago
Andreas Gal bb40d20eae rename conver to convert 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 886054080e make createOpenTypeHeader and createTableEntry inner functions 14 years ago
Andreas Gal f6e85f00cb add a closure around Font so we can hide helper functions in it 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 5afd963c8a handle surrogate pairs in glyph to unicode translation 14 years ago
Vivien Nicolas ca61249db1 Really pass the sanitizer (encoding is broken) 14 years ago
Vivien Nicolas c1fc38725a Make Helvetica and Helvetica bold from page 2 to pass the sanitizer 14 years ago
Chris Jones 23e19c08b1 use strict mode and fix violators 14 years ago
Chris Jones 4c018956f2 mozMeasureText() is non-standard and deprecated 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 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