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
Behdad Esfahbod
3d4c471512
Minor
2013-08-13 20:10:17 -04:00
Behdad Esfahbod
318adc0967
Even more whitespace
2013-08-13 20:09:28 -04:00
Behdad Esfahbod
1ee298d840
Hide unique_sorted
2013-08-13 20:07:09 -04:00
Behdad Esfahbod
616d36e5cf
More whitespace
2013-08-13 20:02:59 -04:00
Behdad Esfahbod
e9f0b15d2e
More whitespace
2013-08-13 19:54:25 -04:00
Behdad Esfahbod
77a2b28b61
More whitespace
2013-08-13 19:53:30 -04:00
Behdad Esfahbod
9e856ea603
Whitespace
2013-08-13 19:50:38 -04:00
Behdad Esfahbod
fc912be84d
Don't use trailing backslashes
2013-08-13 19:21:17 -04:00
Behdad Esfahbod
bff33d29c5
Minor
2013-08-13 19:11:01 -04:00
Behdad Esfahbod
7abcb00725
Remove unused code
2013-08-13 18:56:51 -04:00
Behdad Esfahbod
dc0c48358d
Use iteritems() / iterkeys() / itervalues()
2013-08-13 18:50:36 -04:00
Behdad Esfahbod
50cff38ea2
Cleanup list/dict comprehensions
2013-08-13 18:40:36 -04:00
Behdad Esfahbod
9eeeb4ee3a
Cleanup global variables
2013-08-13 16:58:50 -04:00
Behdad Esfahbod
26d9ee7315
Cleanup Exceptions
2013-08-13 16:55:01 -04:00
Behdad Esfahbod
9a49ead1a0
Cleanup imports
2013-08-13 16:51:59 -04:00
Behdad Esfahbod
579671a2d8
Minor
2013-08-13 16:25:29 -04:00
Behdad Esfahbod
4e72186bf3
Minor
2013-08-13 16:24:45 -04:00
Behdad Esfahbod
31ebebef33
Minor
2013-08-13 16:02:33 -04:00
Behdad Esfahbod
8e3b88645e
Minor
2013-08-13 16:02:18 -04:00
Behdad Esfahbod
dd7b0fc90c
Minor
2013-08-13 16:00:28 -04:00
Behdad Esfahbod
409286a44b
Minor
2013-08-13 15:57:33 -04:00
Behdad Esfahbod
1a4e72ec0a
Implement CFF subsetting
2013-08-13 15:46:37 -04:00
Behdad Esfahbod
9ec5215bd9
Support --text=
2013-08-13 14:06:58 -04:00
Behdad Esfahbod
a7d22431e0
Add closure-gsub-text.py
2013-08-13 12:47:48 -04:00
Behdad Esfahbod
db6d2e98af
Minor
2013-08-13 12:42:12 -04:00
Behdad Esfahbod
d1c66ec402
Minor
2013-08-13 12:31:33 -04:00
Behdad Esfahbod
e6fc8caec4
Drop unknown tables
2013-08-13 12:27:41 -04:00
Behdad Esfahbod
f6b668edf5
Refactor font loading
2013-08-13 12:23:02 -04:00
Behdad Esfahbod
033dfcdf26
Make closure_glyphs() inplace
2013-08-13 11:40:50 -04:00
Behdad Esfahbod
aeacc15839
If recursed lookups may have non-1to1 lookups go into chaos mode
...
We don't know what may happen, so don't narrow down glyphset
based on fixed-position assumptions.
This corrects flaw introduced in previous commit. All good now.
2013-08-12 20:24:33 -04:00
Behdad Esfahbod
849d25c95d
Improve subsetting of Context formats
...
When recursing for closure, just pass down glyphs that could have
actually matched the rule.
This can result in wrong results if the recursed lookup is NOT
one-to-one. Fix coming.
In the mean time, test with NotoSansDevanagari-Bold.ttf and
chars uni91f,uni94d,uni930 to see the difference.
2013-08-12 19:25:44 -04:00
Behdad Esfahbod
6c11b894f3
Minor
2013-08-12 15:41:30 -04:00
Behdad Esfahbod
93e2636887
Minor
2013-08-09 14:22:48 -04:00
Behdad Esfahbod
2ac36300d0
Minor
2013-08-08 23:49:00 -04:00
Behdad Esfahbod
1d4fa13b4b
When closing over GSUB narrow down the set for current glyph
...
This allows partial closing of recursed lookups.
Test with updated Win8 calibrili and glyphs for text "dan".
2013-08-08 23:16:19 -04:00
Behdad Esfahbod
1437426d69
When subsetting GSUB drop rules generating glyphs we don't want
...
Right now this is unused since we always fully close over any
lookup. But as we want to move to selectively NOT close parts
of lookups, this will be needed.
2013-08-08 22:26:49 -04:00
Behdad Esfahbod
f549784245
Print gids as well as names
2013-08-08 21:57:02 -04:00
Behdad Esfahbod
9ae5d28d46
Support "U+XXXX" format as input
2013-08-08 21:18:17 -04:00
Behdad Esfahbod
a1e0f13fd6
Really fix ClassDef routines around class==0 this time
2013-08-08 21:12:45 -04:00
Behdad Esfahbod
e10803eca2
Fix [Chain]Context Format2 handling
...
Test with NotoSansDevanagari-Bold, glyphset "uni093F" as well as
"uni093F uni0925".
2013-08-08 21:09:27 -04:00
Behdad Esfahbod
dd6fc84f35
Never reuse class=0 in ClassDef
...
That means "not found".
2013-08-06 11:16:41 -04:00