Vivien Nicolas
|
e9ed96d97c
|
Start of a TTF Format6 to Format4 converter (sigh)
|
2011-06-22 07:46:41 +02:00 |
|
Vivien Nicolas
|
595a384ca7
|
Support Format 6 cmap table, but does not pass the sanitizer yet
|
2011-06-22 04:41:31 +02:00 |
|
Vivien Nicolas
|
34357eac19
|
Start displaying TrueType fonts
|
2011-06-21 21:11:59 +02:00 |
|
Vivien Nicolas
|
2315131b90
|
Get rid of the TrueType class, adapt the code to conventions and new code
|
2011-06-21 06:49:59 +02:00 |
|
Vivien Nicolas
|
aa7e1ac6d6
|
Add a name to some anonyous functions
|
2011-06-21 04:35:28 +02:00 |
|
Vivien Nicolas
|
8523896023
|
Rename s2a, s16, s32 and do some dance inside the bind() code
|
2011-06-21 04:30:28 +02:00 |
|
Vivien Nicolas
|
c4056aa99a
|
Merge with master
|
2011-06-21 02:35:14 +02:00 |
|
Vivien Nicolas
|
2feec66b74
|
Add a way to disable fonts that won't load
|
2011-06-20 21:14:33 +02:00 |
|
Andreas Gal
|
f3fcbd0fbc
|
remove remaining uses of integerToBytes in type1 font code
|
2011-06-20 14:42:39 -04:00 |
|
Andreas Gal
|
0c948d7b06
|
assemble cmap table from strings instead of arrays
|
2011-06-20 04:27:21 -04:00 |
|
Andreas Gal
|
32880025fc
|
write font cmap using a string
|
2011-06-20 04:20:51 -04:00 |
|
Andreas Gal
|
e97f74f6e3
|
simplify glyph segment writing code
|
2011-06-20 04:16:41 -04:00 |
|
Andreas Gal
|
5f75130fbf
|
store ranges as [start, end], instead of storing all codes
|
2011-06-20 03:49:40 -04:00 |
|
Andreas Gal
|
52e1631030
|
use Array.sort to calculate glyph ranges instead of large typed arrays
|
2011-06-20 03:33:52 -04:00 |
|
Vivien Nicolas
|
c345a4c75e
|
Add more TrueType rewriting magic ('post' table)
|
2011-06-20 08:20:31 +02:00 |
|
Vivien Nicolas
|
5c4f26019e
|
Check for more missing tables in TrueType (sigh)
|
2011-06-20 03:01:09 +02:00 |
|
Andreas Gal
|
4fc8a1fa75
|
make createCMAPTable a nested function function
|
2011-06-19 16:35:32 -07:00 |
|
Andreas Gal
|
a118f9035a
|
in preparation for using strings to write out font data, store constant blobs as strings
|
2011-06-19 16:32:26 -07:00 |
|
Andreas Gal
|
c09ee48094
|
write OTF header using a string, not an array
|
2011-06-19 16:13:59 -07:00 |
|
Andreas Gal
|
bb40d20eae
|
rename conver to convert
|
2011-06-19 15:58:30 -07:00 |
|
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 |
|
Vivien Nicolas
|
ca61249db1
|
Really pass the sanitizer (encoding is broken)
|
2011-06-19 11:07:03 +02:00 |
|
Vivien Nicolas
|
c1fc38725a
|
Make Helvetica and Helvetica bold from page 2 to pass the sanitizer
|
2011-06-19 09:29:28 +02: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 |
|
Vivien Nicolas
|
b0cde50e21
|
Re-enable TrueType and add a TODO about translating the ToUnicode entry (note TrueType still fails on cmap)
|
2011-06-19 04:35:25 +02:00 |
|
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
|
2011-06-19 03:04:15 +02:00 |
|
Vivien Nicolas
|
f4282f9802
|
Use strict mode for js files
|
2011-06-19 02:35:28 +02:00 |
|
Vivien Nicolas
|
dd5c87dfdc
|
Fill informations for the 'name' table in order to pass the sanitizer (Mozilla bug 660088)
|
2011-06-19 02:25:21 +02:00 |
|
Vivien Nicolas
|
f1e8b23f30
|
Use measureText instead of mozMeasureText (deprecated)
|
2011-06-18 21:54:53 +02:00 |
|
Vivien Nicolas
|
8b88ee0338
|
Merge remote branch 'upstream/master'
|
2011-06-18 21:53:52 +02: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
|
a705db84b0
|
Fix wrong order of the 'div' command
|
2011-06-17 23:38:01 +02: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 |
|