Commit Graph

  • 542b9510e6 Optimized cmap format 4 compile function: now creates more compact binary. The code is horrible, but then again cmap format 4 is beyond horrible... jvr 2002-07-20 21:57:26 +00:00
  • 7bd0d8cdc1 oops. jvr 2002-07-13 08:15:21 +00:00
  • 22433b1f52 don't test for os.name, as the mac stuff now all works under darwin/posix as well jvr 2002-07-12 19:20:19 +00:00
  • 366823498c added py2exe support (yes, that was basically all there was to it...) jvr 2002-07-11 18:19:46 +00:00
  • 9da0f12dec make dynamic table import work when importing from a zip file (for py2exe) jvr 2002-07-11 18:17:32 +00:00
  • a80dce0e49 repair ttcompile -b jvr 2002-07-04 17:17:36 +00:00
  • 4f6cfa71d2 ignore .pyc files jvr 2002-07-04 17:17:05 +00:00
  • 059cbe3cfb gracefully skip C extension if it can't be built jvr 2002-07-01 09:11:01 +00:00
  • 675d6c3fc9 increment progress less frequently, it was too costly... jvr 2002-06-06 19:59:31 +00:00
  • 83eca43740 MacPython 2.2 compat jvr 2002-06-06 19:58:18 +00:00
  • 1e59feca35 finally upgraded psLib to use re instead of the long obsolete regex module. jvr 2002-06-04 19:11:03 +00:00
  • b6eda92dd1 nits jvr 2002-06-04 19:10:14 +00:00
  • 20d41f31e4 add dummy import function, so modulefinder can find our tables. jvr 2002-06-04 19:08:31 +00:00
  • 72d4bad0ce hm, forgot to remove the -d option from the getopt format string jvr 2002-05-25 16:08:55 +00:00
  • 6b63869ef5 mucking with the usage string jvr 2002-05-25 16:08:16 +00:00
  • 0a0c3de16d allow some ttdump options; not -s as that makes diffing that much harder jvr 2002-05-25 16:04:03 +00:00
  • 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. jvr 2002-05-25 15:28:48 +00:00
  • 22f068929c make sure the glyph order is loaded when importing XML as the TTX file may not contain it (ttdump -t/ttcompile -i). jvr 2002-05-25 14:56:29 +00:00
  • e5ae28e842 whoops, the new GlyphOrder table stuff broke ttdump -s jvr 2002-05-25 08:22:22 +00:00
  • a38217da58 slight doc rewording jvr 2002-05-24 18:44:39 +00:00
  • 91df98b41f test script: batch roundtripper jvr 2002-05-24 18:36:57 +00:00
  • 1872557451 gross hack to allow ; in glyph names (I don't think it _is_ allowed, but hey, I've got this font here...) jvr 2002-05-24 17:42:04 +00:00
  • dd2fea582a don't blow up on orphaned VTT index tables jvr 2002-05-24 16:52:07 +00:00
  • 02c17a7d3d fixed ttdump -i mode jvr 2002-05-24 14:42:15 +00:00
  • 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. jvr 2002-05-24 11:55:37 +00:00
  • 74cd1ef7b3 whoops, make charset format 2 work also.. jvr 2002-05-24 10:38:04 +00:00
  • 6004bafc1f implemented compiling charset format 1 and 2 jvr 2002-05-24 10:35:13 +00:00
  • 4e5af60930 CFF/T2 <-> XML roundtripping has begun! jvr 2002-05-24 09:58:04 +00:00
  • f2cf9c5d6d first working version of CFF/T2 compiler; needs cleanup/refactoring, and doesn't import from XML yet; hardly tested. jvr 2002-05-23 21:50:36 +00:00
  • 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...) jvr 2002-05-23 09:42:45 +00:00
  • fe665777ea refactored saveXML() method jvr 2002-05-22 20:15:10 +00:00
  • 4afb257387 remove format 3 charset switch; add newline after ROS jvr 2002-05-18 20:07:01 +00:00
  • 7ce02ea9df renaming, refactoring. jvr 2002-05-17 20:04:05 +00:00
  • 155aa7569f tweaked the XML output somewhat, reorder the topdict fields, etc. jvr 2002-05-17 19:58:49 +00:00
  • 586345b7c1 fixed ctnrmask problem: hints weren't counted correctly jvr 2002-05-17 18:37:07 +00:00
  • a2ad5447fb more CID support, some refactoring, stuff. jvr 2002-05-17 18:36:07 +00:00
  • ae51d5c045 only debug if DEBUG... jvr 2002-05-17 07:08:52 +00:00
  • 455af6592b first stab at compiling T2 CharStrings jvr 2002-05-17 07:07:26 +00:00
  • 767102ea85 tweaking, added some debug info jvr 2002-05-17 07:06:32 +00:00
  • 016ca76e91 make decompiling charstrings work again jvr 2002-05-16 18:38:03 +00:00
  • 4756b3a040 major refactoring, now evaluates everything lazily, so it should be really fast if you only need (say) the glyph order. jvr 2002-05-16 18:17:32 +00:00
  • 357d71b438 some changes to adapt to new cffLib.py jvr 2002-05-16 18:15:57 +00:00
  • 6f03a58f59 (nit) jvr 2002-05-16 18:13:01 +00:00
  • 7007a08545 whoops, compile was broken due to Fixed 'fix' jvr 2002-05-16 18:12:11 +00:00
  • 0ecc433736 ignore tables we don't have upon saving as XML: this is indispensible for batch processing jvr 2002-05-15 07:50:06 +00:00
  • 1890b953f0 more work in progress jvr 2002-05-15 07:41:30 +00:00
  • dc18128aa9 added delta array support to DictDecompiler jvr 2002-05-15 07:40:33 +00:00
  • ecf5a794ee more CID hackery jvr 2002-05-14 13:51:51 +00:00
  • bf2f402913 fix argument type order jvr 2002-05-14 13:49:50 +00:00
  • a20285b7b4 more rearranging, some fixes of the previous version jvr 2002-05-14 12:37:36 +00:00
  • e327558aa5 resturcturing, reformatting jvr 2002-05-14 12:22:03 +00:00
  • 04b3204dd1 fixed typo in comment jvr 2002-05-14 12:09:10 +00:00
  • 6d73fdef1c this wasn't meant te be checked in yet. jvr 2002-05-13 18:13:03 +00:00
  • b776a882ee added Fixed type jvr 2002-05-13 18:10:05 +00:00
  • e69caf8771 more cosmetics jvr 2002-05-13 18:08:19 +00:00
  • 8307fa42cd a whole bunch of renames, purely stylistic jvr 2002-05-13 16:21:51 +00:00
  • dbc2c173b3 moved some stuff to cffLib jvr 2002-05-13 16:19:51 +00:00
  • 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..). jvr 2002-05-13 11:26:38 +00:00
  • 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!) jvr 2002-05-13 11:25:17 +00:00
  • b0e5f299ff use spaces for alignment jvr 2002-05-13 11:21:48 +00:00
  • bf3dc20b46 test whether final argument is a directory jvr 2002-05-12 18:46:27 +00:00
  • ea9dfa9fb2 renamed several items to use camelCase jvr 2002-05-12 17:14:50 +00:00
  • ce1d50aca8 Applied patch from Owen Taylor that allows zero-length tables to be ignored. Added comment why. jvr 2002-05-12 17:02:50 +00:00
  • 911b33d531 note about PyXML jvr 2002-05-12 12:58:22 +00:00
  • 7de32f2fb4 reworded glyph name section jvr 2002-05-12 12:48:14 +00:00
  • b4bdd0f235 notes about recent changes jvr 2002-05-12 12:24:11 +00:00
  • c0903263b3 case typo jvr 2002-05-11 21:52:27 +00:00
  • 56bfea4317 minor restructuring jvr 2002-05-11 21:44:06 +00:00
  • 4bb05c6ad4 added support for the new ttdump -s output: read file references from mini-ttx file jvr 2002-05-11 21:38:26 +00:00
  • 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 jvr 2002-05-11 21:18:12 +00:00
  • 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. jvr 2002-05-11 21:16:05 +00:00
  • 64b5c80e80 results of morning-after code review, added some doc strings, etc. jvr 2002-05-11 10:21:36 +00:00
  • 3f776b83cb removed non-functioning lame-ass previous attempt jvr 2002-05-11 01:03:06 +00:00
  • d4d151390d Completely revamped OT support; this time it works and is complete. XML output is not yet as pretty as can be. jvr 2002-05-11 00:59:27 +00:00
  • 6fc514edf3 fix unknown subtable format and handling of Apple fonts jvr 2002-05-10 19:52:14 +00:00
  • 22dcb9e6f9 a few cosmetic/style changes jvr 2002-05-10 19:03:34 +00:00
  • 1940dfbe0e checking in last edits to the old OT support; this stuff will be replaced by brand new code soon. jvr 2002-05-10 19:02:04 +00:00
  • 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. jvr 2002-05-05 11:29:33 +00:00
  • 9a3552be49 cosmetic change: I forgot I dislike backticks... jvr 2002-05-05 09:55:41 +00:00
  • cf4b3b3d9b renamed _getTableData() to getTableData(); optimized getGlyphOrder() somewhat. jvr 2002-05-05 09:48:31 +00:00
  • f707463256 added support for deleting tables: del f[tag] jvr 2002-05-04 22:04:02 +00:00
  • 0d762b00de use dict for extraNames lookups, getting rid of quadratic behavior jvr 2002-05-04 22:03:05 +00:00
  • 25ccb9c346 MacPython 2.2 compatibility fix. jvr 2002-05-03 19:38:07 +00:00
  • 7b31570b70 some reformatting of the usage msg. jvr 2002-05-03 19:35:33 +00:00
  • aeed5693a1 more TTX... jvr 2002-05-03 19:10:39 +00:00
  • 753b39b57d typos, version update, date update jvr 2002-05-03 19:03:49 +00:00
  • ec8ca4ba8a cleaned up command line tool section, updated to current state. jvr 2002-05-03 19:02:26 +00:00
  • 9512e4b3a4 these moved to Tools/ jvr 2002-05-03 18:58:47 +00:00
  • fdf2d770c7 install the scripts from Tools/ jvr 2002-05-03 18:57:02 +00:00
  • 96aa48ab91 new place and names for scripts/tools jvr 2002-05-03 18:55:27 +00:00
  • 93d048bf2f minor fiddling with usage. jvr 2002-05-03 17:05:39 +00:00
  • 4f3205830a minimal table lister tool jvr 2002-05-03 17:05:06 +00:00
  • a36fd88a20 Work in progress on CFF, GPOS and GSUB. Since it's only partly working, it's diasabled by default. jvr 2002-05-03 17:01:25 +00:00
  • 2a9c630193 use composition rather than inheritance; \ jvr 2002-05-03 14:33:41 +00:00
  • 48e4b6254e import expat instead of xmlproc, as that's what we're using now jvr 2002-05-03 08:59:22 +00:00
  • e82b4d5658 only keep the orginal table around in two special cases.\n this fixes a problem with importing individual tables. jvr 2002-05-02 20:54:08 +00:00
  • 320b48a9bf eexecOp may be a global module or a submodule. jvr 2002-05-02 15:26:50 +00:00
  • d04a3bb4f9 use version from fontTools.__init__.py jvr 2002-05-02 15:23:25 +00:00
  • 9b7b8e0f5b re-added progress support, to be tested jvr 2002-05-02 15:16:45 +00:00
  • 1288f8ad41 whoops, lastIndex can't be smaller than 1 jvr 2002-05-02 10:53:10 +00:00