12148 Commits

Author SHA1 Message Date
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
jvr
ea9dfa9fb2 renamed several items to use camelCase
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@220 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 17:14:50 +00:00
jvr
ce1d50aca8 Applied patch from Owen Taylor that allows zero-length tables to be ignored. Added comment why.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@219 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 17:02:50 +00:00
jvr
911b33d531 note about PyXML
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@218 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 12:58:22 +00:00
jvr
7de32f2fb4 reworded glyph name section
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@217 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 12:48:14 +00:00
jvr
b4bdd0f235 notes about recent changes
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@216 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 12:24:11 +00:00
jvr
c0903263b3 case typo
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@215 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:52:27 +00:00
jvr
56bfea4317 minor restructuring
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@214 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:44:06 +00:00
jvr
4bb05c6ad4 added support for the new ttdump -s output: read file references from mini-ttx file
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@213 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:38:26 +00:00
jvr
0f29303474 change how saveXML with splitTable=True works: it no longer creates a directory, and outputs a small file that references the individual table files
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@212 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:18:12 +00:00
jvr
b1ad7eb139 changed the command line interface of ttdump and ttcompile ***incompatibly***; changed ttdump -s considerably: now outputs a small file containing references to the individual table file; -d is gone; etc.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@211 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:16:05 +00:00
jvr
64b5c80e80 results of morning-after code review, added some doc strings, etc.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@210 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 10:21:36 +00:00
jvr
3f776b83cb removed non-functioning lame-ass previous attempt
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@209 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 01:03:06 +00:00
jvr
d4d151390d Completely revamped OT support; this time it works and is complete. XML output is not yet as pretty as can be.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@208 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 00:59:27 +00:00
jvr
6fc514edf3 fix unknown subtable format and handling of Apple fonts
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@207 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-10 19:52:14 +00:00
jvr
22dcb9e6f9 a few cosmetic/style changes
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@206 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-10 19:03:34 +00:00
jvr
1940dfbe0e checking in last edits to the old OT support; this stuff will be replaced by brand new code soon.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@205 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-10 19:02:04 +00:00
jvr
9f1e14bec9 Work around bootstrapping problem in TTFont._getGlyphNamesFromCmap():
If the cmap parser was the one to cause _getGlyphNamesFromCmap() to be
  called, no unicode cmap was found as it was just starting to get
  loaded. This resulted in different glyph names, depending on when
  the cmap parser was invoked.
Also added a bunch of comment describing what this method does.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@204 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-05 11:29:33 +00:00
jvr
9a3552be49 cosmetic change: I forgot I dislike backticks...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@203 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-05 09:55:41 +00:00