94 Commits

Author SHA1 Message Date
jvr
1a53beb7b4 renamed table to rawTable
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@344 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 17:09:13 +00:00
jvr
d41386e7f7 added manual implementation for the Coverage subtable to get rid of GlyphID dependencies
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@341 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 16:47:02 +00:00
jvr
52966bb144 minor refactoring
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@340 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 16:45:48 +00:00
jvr
f7ef96ccca refactored slightly to make later specializations easier
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@330 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-10 19:26:38 +00:00
jvr
2b96925bdb __init__.py is now generated my MetaTools/builtTableList.py
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@321 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-10 13:08:31 +00:00
jvr
ff6a25cdb9 align glyphs on 4-byte boundaries, seems the current recommendation by MS
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@300 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-05 19:46:41 +00:00
jvr
223b3588e3 allow 4-byte alignment of glyph data
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@299 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-05 19:35:56 +00:00
jvr
e97a27bf18 fixed spelling consistency bug. Note to self: report as bug in OT doco.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@298 4cde692c-a291-49d1-8350-778aa11640f8
2002-08-30 17:52:28 +00:00
jvr
6ab979caca some (modified) progress bar support
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@294 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 16:44:25 +00:00
jvr
4105ca0b95 reordered/regrouped some methods for clarity
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@288 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 08:43:03 +00:00
jvr
8e48312f88 don't use __len__ for arbitrary length method
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@287 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 08:19:38 +00:00
jvr
1f8a4bb02a clarified cmap4 optimization strategy
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@286 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 07:51:23 +00:00
jvr
24d79cb026 duh, I don't even _need_ to track referers with the current scheme
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@285 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-22 22:39:10 +00:00
jvr
f8f2a36927 minor changes
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@284 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-22 22:22:47 +00:00
jvr
cfadfd0096 completely revamped optimization strategy: now even _shrinks_ certain Adobe and MS OTL tables.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@283 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-22 22:13:57 +00:00
jvr
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...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@281 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-20 21:57:26 +00:00
jvr
a80dce0e49 repair ttcompile -b
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@276 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-04 17:17:36 +00:00
jvr
4f6cfa71d2 ignore .pyc files
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@275 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-04 17:17:05 +00:00
jvr
675d6c3fc9 increment progress less frequently, it was too costly...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@273 4cde692c-a291-49d1-8350-778aa11640f8
2002-06-06 19:59:31 +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
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
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
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
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
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
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
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
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
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
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
0d762b00de use dict for extraNames lookups, getting rid of quadratic behavior
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@200 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-04 22:03:05 +00:00
jvr
a36fd88a20 Work in progress on CFF, GPOS and GSUB. Since it's only partly working, it's diasabled by default.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@189 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-03 17:01:25 +00:00
jvr
2a9c630193 use composition rather than inheritance; \
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@188 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-03 14:33:41 +00:00
jvr
1288f8ad41 whoops, lastIndex can't be smaller than 1
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@182 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-02 10:53:10 +00:00
jvr
ca4c45681e Complety revised the XML import code:
- use expat instead of xmlproc
- minor fixes here and there

Fixed bug in hmtx/vmtx code that only occured if all advances were equal.

FontTools now officially requires Python 2.0 or up, due to exapt and unicode.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@179 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-01 21:06:11 +00:00
jvr
f9104bcc2c another buggy font workaround; sped up unpackPStrings somewhat
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@177 4cde692c-a291-49d1-8350-778aa11640f8
2002-01-17 09:36:30 +00:00
jvr
ae43d92ea9 Hm, these instructions had their stack pop-count reversed.
Thanks to L. Peter Deutsch for finding this.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@176 4cde692c-a291-49d1-8350-778aa11640f8
2002-01-07 08:44:09 +00:00
jvr
c2b05ccf8c fixed post table format 1 error: even though the glyph order is fixed,
that doesn't mean all glyphs in the standard order are there.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@174 4cde692c-a291-49d1-8350-778aa11640f8
2001-11-05 19:32:30 +00:00
jvr
c3403cfbd4 style constency
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@168 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-15 09:26:15 +00:00
jvr
6146b084c2 spec changed: three fields are now unsigned instead of signed,
and due to the the wonderful <snort> hungarian notation the field
names changed as well... (So this change is not b/w compatible)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@167 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-15 07:01:44 +00:00