141 Commits

Author SHA1 Message Date
Behdad Esfahbod
2fb90e266d More shuffle around 2013-07-31 20:04:08 -04:00
Behdad Esfahbod
e7f5a8900f Minor 2013-07-31 19:58:59 -04:00
Behdad Esfahbod
c4eb3db746 Only include cmap entries for requested unicodes/glyphs
And not the closed ones.
2013-07-31 19:56:19 -04:00
Behdad Esfahbod
a6dbb7ae2a More refactoring 2013-07-31 19:53:57 -04:00
Behdad Esfahbod
8c8ff45c72 More shuffling 2013-07-31 19:48:17 -04:00
Behdad Esfahbod
6df089a500 Move code around 2013-07-31 19:27:14 -04:00
Behdad Esfahbod
cb1cb5d73f minor 2013-07-31 18:29:43 -04:00
Behdad Esfahbod
97e17b8c98 Wire up options to commandline 2013-07-31 16:28:02 -04:00
Behdad Esfahbod
063a2dbf33 More shuffling around 2013-07-31 15:22:02 -04:00
Behdad Esfahbod
df3d757e87 More refactoring 2013-07-31 15:03:43 -04:00
Behdad Esfahbod
88264a665c More refactoring 2013-07-31 14:45:13 -04:00
Behdad Esfahbod
254442ba19 More 2013-07-31 14:20:13 -04:00
Behdad Esfahbod
3d513b7ada Start adding Subsetter object 2013-07-31 14:11:40 -04:00
Behdad Esfahbod
327dcc3db9 Minor rename 2013-07-31 13:50:51 -04:00
Behdad Esfahbod
2d9a09679b Minor 2013-07-31 13:33:31 -04:00
Behdad Esfahbod
75e7ecfda9 Minor 2013-07-29 12:05:15 -04:00
Behdad Esfahbod
e86b798684 Load glyph names if we need them for looking up requested glyphs 2013-07-25 18:34:22 -04:00
Behdad Esfahbod
3684f4b13e Avoid loading glyph names if we'll be dropping them 2013-07-24 19:36:39 -04:00
Behdad Esfahbod
b3ee60c0b3 Minor 2013-07-24 19:22:59 -04:00
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