Behdad Esfahbod
9255d33f04
Remove stale comment
2013-09-27 16:38:39 -04:00
Behdad Esfahbod
043108cbdb
[subset] Fix glyf component closure
...
https://github.com/behdad/fonttools/pull/11
2013-09-27 16:29:50 -04:00
Behdad Esfahbod
626107c833
Move some methods from subset.py to 'glyf' table implementation
2013-09-20 16:36:00 -04:00
Behdad Esfahbod
46d260f2a0
[subset] Clean up imports
2013-09-20 16:35:56 -04:00
Behdad Esfahbod
fd92d4c25f
[subset] Minor
2013-09-20 16:35:50 -04:00
Behdad Esfahbod
b61d7ac553
Relicense new tools to the original fonttools license
...
They were under Apache.
2013-09-19 20:03:20 -04:00
Behdad Esfahbod
28fc49824a
Minor
2013-09-18 19:01:16 -04:00
Behdad Esfahbod
0ec17d96eb
[subset] NameError: global name 'rec' is not defined ( #10 )
...
https://github.com/behdad/fonttools/issues/10
2013-09-15 18:30:41 -04:00
Behdad Esfahbod
21582e9f6c
[subset] Minor TODO items
2013-09-12 16:47:52 -04:00
Behdad Esfahbod
9953685818
[subset] Fix CFF hint stripping
...
Stupid mistake. Seems to work now.
2013-09-12 00:23:11 -04:00
Behdad Esfahbod
010c5f9136
[subset] Minor verbose output improvement
2013-09-10 20:54:46 -04:00
Behdad Esfahbod
285d7b81d3
[subset] Fixup CFF hint stripping
...
Two things:
1. Put back glyph width after stripping hints,
2. Ignore what I believe is broken fonts.
I still see glyph width messup. Debugging.
2013-09-10 20:30:47 -04:00
Behdad Esfahbod
2be33d9383
[subset] Allow specifying '*' to choose all glyphs
...
Useful for testing if nothing else.
2013-09-10 19:28:59 -04:00
Behdad Esfahbod
84763140a0
[subset] Adjust state transition after hintmask
2013-09-10 19:00:48 -04:00
Behdad Esfahbod
e06220767f
[subset] Drop hints from CFF if not needed
...
It's a tricky algorithm, but I think I got the design right.
Bugs optional...
2013-09-10 18:37:54 -04:00
Behdad Esfahbod
fbb9fc1b47
[subset] Remove _NonrecursingT2Decompiler
...
First, it was wrong because not recursing has implications in hintmasks.
Second, it wasn't needed, because all _used subroutines were already
decompiled anyway.
Fixes this test:
$ pyftsubset SemplicitaPro-Light.otf three
2013-09-05 19:01:39 -04:00
Behdad Esfahbod
ac10d81ac8
Fix misc pychecker warnings
2013-09-03 18:31:59 -04:00
Behdad Esfahbod
7adbdd6242
Fix Subsetting CFFs without subroutines
...
https://github.com/behdad/fonttools/issues/1
Based on patch from Jens Kutilek.
2013-09-03 16:23:27 -04:00
Behdad Esfahbod
cbcaccf2f8
[subset] Fixup previous commits for fonts that do have FDSelect
...
Oops!
2013-08-30 16:21:38 -04:00
Behdad Esfahbod
83f1f5c438
[subset] Fix CFF subsetting of fonts with no FDSelectors
2013-08-30 16:20:08 -04:00
Behdad Esfahbod
b69400fe60
Merge pyotlss, rename it to pyftsubset
...
Adds module fontTools.subset
2013-08-29 18:43:56 -04:00