1169 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
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
jvr
95cf546fb4 dump macStyle as binary
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@166 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-15 07:00:01 +00:00
Just
30dae0d179 removed dependency on old transformation class
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@139 4cde692c-a291-49d1-8350-778aa11640f8
2001-07-30 19:05:49 +00:00
Just
64892f5a34 Don't take month and day names from calendar.py: a buggy Metrowerks strftime() made this crash hard in Python 2.2.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@137 4cde692c-a291-49d1-8350-778aa11640f8
2001-06-27 23:09:57 +00:00
Just
ae180248fd workaround for currupt (?) cmap subtable
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@128 4cde692c-a291-49d1-8350-778aa11640f8
2001-01-13 13:48:30 +00:00
Just
731e4377e1 don't complain as loudly with fonts that don't completely adhere to the spec
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@127 4cde692c-a291-49d1-8350-778aa11640f8
2000-11-03 10:29:08 +00:00
Just
6d925f5b9a workaround for odd-length unicode strings (!)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@126 4cde692c-a291-49d1-8350-778aa11640f8
2000-10-23 14:36:20 +00:00
Petr
fc99ad1513 doh! font bounding box goes to the head table, not maxp itself.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@125 4cde692c-a291-49d1-8350-778aa11640f8
2000-10-18 22:27:47 +00:00
Just
481fb09495 added workaround for buggy Apple fonts
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@122 4cde692c-a291-49d1-8350-778aa11640f8
2000-10-13 13:51:33 +00:00
Just
43fa4be948 added workaround for Py 1.5.1 compatibility
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@121 4cde692c-a291-49d1-8350-778aa11640f8
2000-10-11 18:04:03 +00:00
Just
fdea99d265 minor fix
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@118 4cde692c-a291-49d1-8350-778aa11640f8
2000-08-23 12:34:44 +00:00
Just
d5b65a4ed1 made calculating bounding box handle empty coordinate arrays gracefully
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@117 4cde692c-a291-49d1-8350-778aa11640f8
2000-08-23 12:34:19 +00:00
Just
f6b1563e0d removed an assert that was too strict
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@116 4cde692c-a291-49d1-8350-778aa11640f8
2000-08-23 12:33:14 +00:00
Just
ca9679eded another OT source table
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@112 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-29 18:35:47 +00:00
Just
859967e521 formatting
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@111 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-08 18:38:43 +00:00
Just
306d24ec79 Allow long-aligned glyph records (as is in fact recommended by the latest MS spec, but almost nobody seems to do it...)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@110 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-07 19:13:11 +00:00
Just
1b850986ef Fixed cmap optimizer bug: needs more testing!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@109 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-07 18:25:44 +00:00
Just
e0433b907d Fixed getCoordinates() so it works correctly with "empty" components.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@108 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-07 18:08:02 +00:00
Just
cb317bfad3 The "flags" field is an unsigned short, not a byte
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@107 4cde692c-a291-49d1-8350-778aa11640f8
2000-06-07 18:07:14 +00:00
Just
d29f289911 - some method name changes
- check for 3,0 platform/encoding wide strings


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@92 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:03:53 +00:00
Just
7f34d735e0 minor fixes. Note: format2 is not implemented correctly!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@91 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:02:33 +00:00
Just
670c985d76 added doc strings to empty __init__.py files: WinZip apparently skips empty files. Doh!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@90 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:01:03 +00:00
Just
7268e24408 be relaxed about zero padding the input data to 4-byte boundaries
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@87 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-21 21:30:32 +00:00
Just
222aea7fca another 64-bit fix
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@86 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-21 21:14:05 +00:00
Just
752465b9df first patch to make ttLib 64-bit clean
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@83 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-13 17:00:45 +00:00
Just
b263e4d118 reinstated accidentally deleted regex.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@78 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:54:37 +00:00