266 Commits

Author SHA1 Message Date
jvr
b6eda92dd1 nits
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@270 4cde692c-a291-49d1-8350-778aa11640f8
2002-06-04 19:10:14 +00:00
jvr
20d41f31e4 add dummy import function, so modulefinder can find our tables.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@269 4cde692c-a291-49d1-8350-778aa11640f8
2002-06-04 19:08:31 +00:00
jvr
72d4bad0ce hm, forgot to remove the -d option from the getopt format string
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@268 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 16:08:55 +00:00
jvr
6b63869ef5 mucking with the usage string
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@267 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 16:08:16 +00:00
jvr
0a0c3de16d allow some ttdump options; not -s as that makes diffing that much harder
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@266 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 16:04:03 +00:00
jvr
d57c4346e5 It still wasn't right; I think the glyph order mess is now sufficiently cleaned up; at least compiling the result of ttdump -x glyf works again.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@265 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 15:28:48 +00:00
jvr
22f068929c make sure the glyph order is loaded when importing XML as the TTX file may not contain it (ttdump -t/ttcompile -i).
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@264 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 14:56:29 +00:00
jvr
e5ae28e842 whoops, the new GlyphOrder table stuff broke ttdump -s
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@263 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-25 08:22:22 +00:00
jvr
a38217da58 slight doc rewording
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@262 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 18:44:39 +00:00
jvr
91df98b41f test script: batch roundtripper
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@261 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 18:36:57 +00:00
jvr
1872557451 gross hack to allow ; in glyph names (I don't think it _is_ allowed, but hey, I've got this font here...)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@260 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 17:42:04 +00:00
jvr
dd2fea582a don't blow up on orphaned VTT index tables
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@259 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 16:52:07 +00:00
jvr
02c17a7d3d fixed ttdump -i mode
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@258 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 14:42:15 +00:00
jvr
b58176e5ac added support for raw bytecode: this happens unintentionally for subrs that aren't referenced, but it's good to have anyway, in case we want to switch T2 decompilation off.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@257 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 11:55:37 +00:00
jvr
74cd1ef7b3 whoops, make charset format 2 work also..
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@256 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 10:38:04 +00:00
jvr
6004bafc1f implemented compiling charset format 1 and 2
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@255 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 10:35:13 +00:00
jvr
4e5af60930 CFF/T2 <-> XML roundtripping has begun!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@254 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 09:58:04 +00:00
jvr
f2cf9c5d6d first working version of CFF/T2 compiler; needs cleanup/refactoring, and doesn't import from XML yet; hardly tested.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@253 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-23 21:50:36 +00:00
jvr
0011bb6910 big change: the glyph order is now dumped as a separate table and not as part of glyf (which didn't make much sense to begin with, but can't work at all in the case of CFF...)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@252 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-23 09:42:45 +00:00
jvr
fe665777ea refactored saveXML() method
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@251 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-22 20:15:10 +00:00
jvr
4afb257387 remove format 3 charset switch; add newline after ROS
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@250 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-18 20:07:01 +00:00
jvr
7ce02ea9df renaming, refactoring.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@249 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 20:04:05 +00:00
jvr
155aa7569f tweaked the XML output somewhat, reorder the topdict fields, etc.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@248 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 19:58:49 +00:00
jvr
586345b7c1 fixed ctnrmask problem: hints weren't counted correctly
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@247 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 18:37:07 +00:00
jvr
a2ad5447fb more CID support, some refactoring, stuff.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@246 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 18:36:07 +00:00
jvr
ae51d5c045 only debug if DEBUG...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@245 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 07:08:52 +00:00
jvr
455af6592b first stab at compiling T2 CharStrings
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@244 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 07:07:26 +00:00
jvr
767102ea85 tweaking, added some debug info
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@243 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 07:06:32 +00:00
jvr
016ca76e91 make decompiling charstrings work again
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@242 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:38:03 +00:00
jvr
4756b3a040 major refactoring, now evaluates everything lazily, so it should be really fast if you only need (say) the glyph order.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@241 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:17:32 +00:00
jvr
357d71b438 some changes to adapt to new cffLib.py
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@240 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:15:57 +00:00
jvr
6f03a58f59 (nit)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@239 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:13:01 +00:00
jvr
7007a08545 whoops, compile was broken due to Fixed 'fix'
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@238 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:12:11 +00:00
jvr
0ecc433736 ignore tables we don't have upon saving as XML: this is indispensible for batch processing
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@237 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-15 07:50:06 +00:00
jvr
1890b953f0 more work in progress
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@236 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-15 07:41:30 +00:00
jvr
dc18128aa9 added delta array support to DictDecompiler
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@235 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-15 07:40:33 +00:00
jvr
ecf5a794ee more CID hackery
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@234 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 13:51:51 +00:00
jvr
bf2f402913 fix argument type order
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@233 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 13:49:50 +00:00
jvr
a20285b7b4 more rearranging, some fixes of the previous version
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@232 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 12:37:36 +00:00
jvr
e327558aa5 resturcturing, reformatting
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@231 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 12:22:03 +00:00
jvr
04b3204dd1 fixed typo in comment
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@230 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 12:09:10 +00:00
jvr
6d73fdef1c this wasn't meant te be checked in yet.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@229 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 18:13:03 +00:00
jvr
b776a882ee added Fixed type
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@228 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 18:10:05 +00:00
jvr
e69caf8771 more cosmetics
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@227 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 18:08:19 +00:00
jvr
8307fa42cd a whole bunch of renames, purely stylistic
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@226 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 16:21:51 +00:00
jvr
dbc2c173b3 moved some stuff to cffLib
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@225 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 16:19:51 +00:00
jvr
0b63b28615 don't get glyph names from CFF it it's a CID-keyed font; invent glyph name on the spot if glyphID is too high (dubious change..).
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@224 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 11:26:38 +00:00
jvr
a2a75b348d use a StringIO stream instead slicing strings all the time; don't barf on CID-keyed fonts (but CID support is by no means there yet!)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@223 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 11:25:17 +00:00
jvr
b0e5f299ff use spaces for alignment
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@222 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 11:21:48 +00:00
jvr
bf3dc20b46 test whether final argument is a directory
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@221 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 18:46:27 +00:00