Behdad Esfahbod
b21c903fa3
[inspect] py23 from __future__ import print_function
2013-11-27 17:27:22 -05:00
Behdad Esfahbod
ac4672e451
py23 Introduce Tag to autoconvert tag types
2013-11-27 16:44:53 -05:00
Behdad Esfahbod
b7a2d797a4
py23 Use bytechr() instead of chr()
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
7ed91eca1e
py23 import in all nontrivial source files and unused import cleanup
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
36e20ff473
[subset] py23 import
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
bb0beb7385
2to3 Use py23 to close some of the bytes/str/unicode gaps
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
4a818a2b98
[inspect] Use py23
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
503179f2ed
Add py23 compat layer
2013-11-27 15:24:57 -05:00
Behdad Esfahbod
9005774c10
2to3 --fix=unicode equivalents
...
Remove usage of unicode module. The rest are mostly false
positives.
Remains u'' in macUtils.py and u"" and unichr in M_E_T_A_.py.
2013-11-27 14:01:45 -05:00
Behdad Esfahbod
c2297cd41d
2to3 --fix=dict with manual cleanup
2013-11-27 14:01:45 -05:00
Behdad Esfahbod
6890d050ef
[subset] 2to3 --fix=dict with manual cleanup
2013-11-27 14:01:45 -05:00
Behdad Esfahbod
55e7d79ecf
2to3 manual lambda syntax fix
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
e1d97b8277
2to3 replace use of module new
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
2a9b86816e
2to3 --fix=basestring with manual fixup
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
3e78b60ff6
[inspect] 2to3 --fix=basestring with manual fixup
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
14fb031125
Remove most uses of module string
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
b774f9f684
2to3 --fix=types manual additions
...
Don't know why the tool didn't catch these.
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
223273f792
2to3 --fix=except
2013-11-27 14:01:37 -05:00
Behdad Esfahbod
b92c08059d
2to3 --fix=imports with manual fixups
2013-11-27 05:05:46 -05:00
Behdad Esfahbod
3ec6a25823
2to3 --fix=print with manual fixup
2013-11-27 04:57:33 -05:00
Behdad Esfahbod
d7e8d81a7a
[inspect] 2to3 --fix=print with manual fixup
2013-11-27 04:57:17 -05:00
Behdad Esfahbod
4cd467c853
[subset] 2to3 --fix=print with manual fixup
2013-11-27 04:57:06 -05:00
Behdad Esfahbod
002c32fd0d
2to3 --fix=types with manual fixups
2013-11-27 04:48:20 -05:00
Behdad Esfahbod
e5ca79699d
2to3 --fix=map with manual cleanup
2013-11-27 04:38:16 -05:00
Behdad Esfahbod
ac1b435946
2to3 --fix=idioms
2013-11-27 04:15:34 -05:00
Behdad Esfahbod
c2e2e835ec
[subset] 2to3 --fix=idioms
2013-11-27 04:15:27 -05:00
Behdad Esfahbod
fa5f2e85ab
2to3 --fix=zip with manual cleanup
2013-11-27 04:13:15 -05:00
Behdad Esfahbod
28aeabb08b
2to3 --fix=filter
2013-11-27 04:07:28 -05:00
Behdad Esfahbod
7cc6d271ac
2to3 --fix=long with manual cleanup
2013-11-27 04:00:15 -05:00
Behdad Esfahbod
4b775ee5f1
2to3 --fix=itertools
2013-11-27 03:48:06 -05:00
Behdad Esfahbod
ecbe4c87b5
2to3 --fix=numliterals with manual cleanup
2013-11-27 03:37:29 -05:00
Behdad Esfahbod
97dea0a5d0
2to3 --fix=xrange
2013-11-27 03:34:48 -05:00
Behdad Esfahbod
b466efef28
[subset] 2to3 --fix=xrange
2013-11-27 03:34:35 -05:00
Behdad Esfahbod
3a9fd30180
2to3 equivalent to --fix=tuple_params
...
I hope I got this all right...
2013-11-27 03:30:21 -05:00
Behdad Esfahbod
dc7e6f3e55
2to3 --fix=repr
2013-11-27 02:44:56 -05:00
Behdad Esfahbod
cd5aad92f2
2to3 --fix=raise
2013-11-27 02:42:28 -05:00
Behdad Esfahbod
180ace6a5f
2to3 --fix=ne
2013-11-27 02:40:30 -05:00
Behdad Esfahbod
2b06aaa2a6
2to3 --fix=import
2013-11-27 02:34:11 -05:00
Behdad Esfahbod
bc5e1cb195
2to3 --fix=has_key
2013-11-27 02:33:03 -05:00
Behdad Esfahbod
553c3bbe4e
[subset] 2to3 --fix=funcattrs
2013-11-27 02:24:11 -05:00
Behdad Esfahbod
66214cbe8c
2to3 --fix=apply
2013-11-27 02:18:18 -05:00
Behdad Esfahbod
adbaa269f5
Remove old and rusty Mac/ stuff
2013-11-27 02:15:10 -05:00
Behdad Esfahbod
cc8fc781c4
[subset] Add TODO item
2013-11-26 22:53:04 -05:00
Behdad Esfahbod
3ac9e63fce
Load / save FeatureParamSize decipoints values as float
2013-11-26 19:42:55 -05:00
Behdad Esfahbod
862b14722f
Improve OS/2 format 5 compile
2013-11-26 19:33:49 -05:00
Behdad Esfahbod
9e1bd2d0b4
Implement FeatureParams
...
All types of FeatureParams are correctly handled now.
The only thing not handled is broken fonts generated with the
old AFDKO that have their FeatureParams offset computed wrong.
I don't currently plan on handling those.
Fixes https://github.com/behdad/fonttools/issues/38
2013-11-26 19:23:08 -05:00
Behdad Esfahbod
7ab0cb0b09
Fixup cmap lazy loading
2013-11-26 19:22:13 -05:00
Behdad Esfahbod
cb4adf6828
Fix XML->ttf for fonts that have some missing anchors, etc
...
Eg. EBGaramond12-Regular.ttf. It has a base anchor missing.
Dropping the empty table from XML changes the size of the base
anchor array, which will then result in an assertion because
all bases should have the same array length.
Fixes many other broken fonts too.
2013-11-26 18:55:23 -05:00
Behdad Esfahbod
2f2fd9ca7c
Minor
2013-11-26 18:43:43 -05:00
Behdad Esfahbod
1f0eed8459
Minor
2013-11-26 18:41:53 -05:00