Behdad Esfahbod
39a39ac00a
Use module __all__ instead of manually cleaning the module space
2013-08-22 18:10:17 -04:00
Behdad Esfahbod
348f858b6f
Fix recursion glyph filtering again
...
When writing this code I argued that no two recursion records
in the same rule can both apply to index=0. Well, cibu found
that NotoSansBengali-Regular.ttf does exactly that...
Test with "য্রী".
2013-08-20 11:50:04 -04:00
Behdad Esfahbod
9a72de4b89
Minor
2013-08-20 11:43:34 -04:00
Behdad Esfahbod
45a8460ad3
Clean up imports
2013-08-19 14:44:49 -04:00
Behdad Esfahbod
d9b6308ee9
Work around some Jython versions
2013-08-16 17:16:11 -04:00
Behdad Esfahbod
a9bfec18ad
Typo
2013-08-16 16:21:25 -04:00
Behdad Esfahbod
d816b7f8f4
Use array.array instead of bytearray
...
Jython doesn't have bytearray.
2013-08-16 16:18:40 -04:00
Behdad Esfahbod
42d4f2bbe0
Workaround Jython's limited set.update()
...
It only takes one set at a time.
2013-08-16 16:16:22 -04:00
Behdad Esfahbod
cc6d338528
Remove numpy pypy hack
2013-08-16 16:01:13 -04:00
Behdad Esfahbod
87c8c5036f
Minor
2013-08-16 14:44:09 -04:00
Behdad Esfahbod
e911de174b
Add two minor options
2013-08-16 12:42:34 -04:00
Behdad Esfahbod
d73f22530e
Use straight dict() instead of _dict()
2013-08-16 10:58:25 -04:00
Behdad Esfahbod
e7a0d56474
Minor
2013-08-16 10:56:30 -04:00
Behdad Esfahbod
613ddb9198
Port to pre-Python-2.7 syntax
...
Re dictionary comprehensions.
2013-08-15 22:44:15 -04:00
Behdad Esfahbod
44f3cf1f37
Minor
2013-08-15 22:17:57 -04:00
Behdad Esfahbod
d77f1574a0
Drop GPOS Device tables / anchor contour points if not hinting
2013-08-15 22:16:26 -04:00
Behdad Esfahbod
0fc5502412
Support adding to or removing from default options
...
Syntax eg.:
./pyotlss.py --layout-features-=liga,kern
2013-08-15 19:06:48 -04:00
Behdad Esfahbod
f55013eecc
Minor
2013-08-15 18:39:55 -04:00
Behdad Esfahbod
adc47fdb75
Pass options down to load_font
2013-08-15 18:29:25 -04:00
Behdad Esfahbod
c6c3bb8e68
Support --flavor=woff
...
Needs a fonttools version that understands woff flavor.
2013-08-15 17:46:20 -04:00
Behdad Esfahbod
0faaebba85
Minor
2013-08-15 12:30:58 -04:00
Behdad Esfahbod
85da268a1a
Minor
2013-08-15 12:17:21 -04:00
Behdad Esfahbod
41de4cccce
Add save_file()
2013-08-15 12:09:55 -04:00
Behdad Esfahbod
1019533277
Minor
2013-08-14 19:55:24 -04:00
Behdad Esfahbod
b18d166989
Minor
2013-08-14 19:55:07 -04:00
Behdad Esfahbod
ed10771622
Minor
2013-08-14 19:54:13 -04:00
Behdad Esfahbod
4e5d967963
Oops
2013-08-14 19:49:53 -04:00
Behdad Esfahbod
4734be5370
Minor
2013-08-14 19:47:42 -04:00
Behdad Esfahbod
3c20a137ca
Minor
2013-08-14 19:39:00 -04:00
Behdad Esfahbod
b4ea953d14
Refactor
2013-08-14 19:37:39 -04:00
Behdad Esfahbod
2f3a4b9005
Renumber CFF subroutines
...
Finally can subset CFF fully optimized.
2013-08-14 19:18:50 -04:00
Behdad Esfahbod
8d20ffba5c
Minor
2013-08-14 18:33:18 -04:00
Behdad Esfahbod
5c4853c02d
Minor
2013-08-14 18:32:35 -04:00
Behdad Esfahbod
34426c112f
Report original and subset file size when --verbose
2013-08-14 18:30:09 -04:00
Behdad Esfahbod
d315c91d39
Drop unused FontDictionaries when pruning CFF
2013-08-14 18:22:28 -04:00
Behdad Esfahbod
d3fdcc7ad8
Fixup (Chain)ContextFormat1 matching
...
Oops. Python...
2013-08-14 17:59:31 -04:00
Behdad Esfahbod
9290fb47ae
Truncate unused CFF subroutines
...
Still a long way to go:
1. Drop unused FontDictionaries
2. Renumber subroutines
2013-08-14 17:48:31 -04:00
Behdad Esfahbod
11763308bb
Fix ContextFormat2
2013-08-14 15:33:08 -04:00
Behdad Esfahbod
c0ded9449a
Minor
2013-08-14 13:53:33 -04:00
Behdad Esfahbod
3c4720039a
Minor
2013-08-14 13:52:27 -04:00
Behdad Esfahbod
80c8a65d7d
Misc
2013-08-14 12:55:42 -04:00
Behdad Esfahbod
5d4f99d033
Move Options to module space
2013-08-13 20:57:59 -04:00
Behdad Esfahbod
cc4fc4a703
Minor
2013-08-13 20:53:25 -04:00
Behdad Esfahbod
574ce7987c
Hide protected methods
2013-08-13 20:51:44 -04:00
Behdad Esfahbod
b7f460b9c7
Hide protected methods
2013-08-13 20:48:33 -04:00
Behdad Esfahbod
582809778a
Minor
2013-08-13 20:46:52 -04:00
Behdad Esfahbod
23b2ee9350
Minor
2013-08-13 20:29:10 -04:00
Behdad Esfahbod
22f5cfc457
More whitespace
2013-08-13 20:25:37 -04:00
Behdad Esfahbod
71f7c747c8
Minor
2013-08-13 20:17:07 -04:00
Behdad Esfahbod
c56bf48623
Close font
2013-08-13 20:13:33 -04:00