222 Commits

Author SHA1 Message Date
Behdad Esfahbod
d83bb6cabe Minor 2013-07-24 19:20:04 -04:00
Behdad Esfahbod
afae8326d6 Protect against out-of-range lookup indices
Need to do the same for feature_indices and other things too...
2013-07-24 18:57:06 -04:00
Behdad Esfahbod
d4e33a7d83 Drop unknown kern subtables 2013-07-24 18:51:05 -04:00
Behdad Esfahbod
8c4f7cc759 Minor 2013-07-24 17:58:29 -04:00
Behdad Esfahbod
0fb6988b2b Minor 2013-07-24 17:25:35 -04:00
Behdad Esfahbod
6ec8854ee3 Implement Glyph.dropInstructionsFast()
Now we can do everything without loading the glyphs.
2013-07-24 16:53:17 -04:00
Behdad Esfahbod
8e11c6d7ab Don't recalculate font-wide bounding box
Doing some requires loading all glyphs...
2013-07-24 16:53:17 -04:00
Behdad Esfahbod
4cf7a80fa1 Implement Glyph.getComponentsFast() that works without loading glyph
We still end up loading glyphs if pruning hinting.  And even if
we don't do that, rebuilding the maxp table loads all glyphs.
Working on those.
2013-07-24 16:08:35 -04:00
Behdad Esfahbod
c0d59590de Never touch DefaultTable 2013-07-24 14:46:15 -04:00
Behdad Esfahbod
fa3bc5e4a2 Support PyPy
Doesn't run though.
2013-07-24 14:37:58 -04:00
Behdad Esfahbod
af2117f941 Fix Ligature subsetting 2013-07-24 13:43:44 -04:00
Behdad Esfahbod
8c486d85ce Minor 2013-07-24 13:34:47 -04:00
Behdad Esfahbod
de71dca0e8 Prune tables before glyph closure 2013-07-24 12:40:54 -04:00
Behdad Esfahbod
e3f20735ff Minor 2013-07-24 11:26:43 -04:00
Behdad Esfahbod
44fc6f6c8e Minor 2013-07-24 11:24:58 -04:00
Behdad Esfahbod
f8c20e4418 Skip nonexisting glyphs in glyf closure 2013-07-23 23:13:23 -04:00
Behdad Esfahbod
240d7e7dee Be more verbose re glyphs 2013-07-23 23:12:06 -04:00
Behdad Esfahbod
8998700990 Minor 2013-07-23 23:07:42 -04:00
Behdad Esfahbod
1f573632ef More code sharing, yay! 2013-07-23 23:04:43 -04:00
Behdad Esfahbod
bac31f5936 More refactoring 2013-07-23 23:00:39 -04:00
Behdad Esfahbod
452ab6c2dd Yay for lambda's 2013-07-23 22:57:43 -04:00
Behdad Esfahbod
b178dcaa7b Minor 2013-07-23 22:51:50 -04:00
Behdad Esfahbod
f23d4c478c Minor 2013-07-23 22:42:14 -04:00
Behdad Esfahbod
e9a3bd61eb Prune Context Format2 rules! 2013-07-23 22:41:11 -04:00
Behdad Esfahbod
3108430c3c Minor improvement to Context Format2 2013-07-23 22:22:38 -04:00
Behdad Esfahbod
b8d558895e Implement last remaining Context format
Used by OldStandard.ttf.
2013-07-23 22:18:31 -04:00
Behdad Esfahbod
7c225a608b Handle bad fonts better 2013-07-23 21:33:13 -04:00
Behdad Esfahbod
9bd59c4f7d Add lapse for loading glyph names
With ipagp.ttf this takes 9 seconds!  Should figure out something later.
2013-07-23 21:19:49 -04:00
Behdad Esfahbod
e30ed12bcb Add other TrueType mandatory glyphs (and an option) 2013-07-23 21:13:48 -04:00
Behdad Esfahbod
707a37a8a5 Rename 2013-07-23 21:08:26 -04:00
Behdad Esfahbod
8da03a0ad2 Remove HarfBuzz-based closure tools as we don't need them anymore 2013-07-23 20:49:13 -04:00
Behdad Esfahbod
0a21529f6c Minor 2013-07-23 17:53:50 -04:00
Behdad Esfahbod
eeca982cdc Pretty much done! 2013-07-23 17:42:17 -04:00
Behdad Esfahbod
828c70cab8 Minor 2013-07-23 17:33:52 -04:00
Behdad Esfahbod
f2b6d9c24e Some more 2013-07-23 17:31:54 -04:00
Behdad Esfahbod
e339ad8364 Minor 2013-07-23 17:29:13 -04:00
Behdad Esfahbod
cbba4a60be Incremental, getting there 2013-07-23 17:27:18 -04:00
Behdad Esfahbod
1ab2dbf771 Incremental 2013-07-23 17:17:21 -04:00
Behdad Esfahbod
d8c7e103ec Incremental 2013-07-23 17:07:06 -04:00
Behdad Esfahbod
38e852cc2b Minor 2013-07-23 16:56:50 -04:00
Behdad Esfahbod
27108393a0 More fixup 2013-07-23 16:40:47 -04:00
Behdad Esfahbod
9e73572ff8 More fixup 2013-07-23 16:35:23 -04:00
Behdad Esfahbod
6870f8ae27 Some more refactoring 2013-07-23 16:26:30 -04:00
Behdad Esfahbod
44c2b3ccae Merge some code 2013-07-23 16:03:05 -04:00
Behdad Esfahbod
59dfc13ba2 Fix more 2013-07-23 15:39:20 -04:00
Behdad Esfahbod
007769724d Shuffle 2013-07-23 15:33:00 -04:00
Behdad Esfahbod
398d389e4a More Context / ChainContext impl 2013-07-23 15:29:40 -04:00
Behdad Esfahbod
e36061ebb7 Skip unknown characters 2013-07-23 15:13:00 -04:00
Behdad Esfahbod
103a12fb43 Drop Graphite tables 2013-07-23 15:08:39 -04:00
Behdad Esfahbod
3dce28c91b More closure 2013-07-23 15:05:45 -04:00