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
e493669d19
rearranged a bit, removed redundant imports
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@180 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-01 21:32:37 +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
jvr
4d3b7279db
work around MacPython 2.1 incompatibility
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@164 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-10 22:17:34 +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
a556f51db5
don't allow duplicate glyph names when building names from cmap/agl
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@129 4cde692c-a291-49d1-8350-778aa11640f8
2001-02-23 21:58: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
0f675860ce
improved support for writing to (in memory) streams
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@119 4cde692c-a291-49d1-8350-778aa11640f8
2000-10-02 07:51:42 +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
c91a95189a
minor changes
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@115 4cde692c-a291-49d1-8350-778aa11640f8
2000-08-23 12:31:52 +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
5216353ab4
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@94 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:21:41 +00:00
Just
7bf760f45c
fixed multi-arg .append() call, for Python 1.6 compatibility.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@93 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:21:26 +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
83736c6ffd
fixed multi-arg .append() call, for Python 1.6 compatibility.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@89 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:00:21 +00:00
Just
4ff3ba99a7
changes reflecting a method name change in the kern table.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@88 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 22:59:39 +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
509e2874aa
disable decompilation exception catching: it causes too many debugging nightmares.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@82 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-13 16:23:28 +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
Just
7c0fb31738
added an assert, plus some (commented out) test code for bad unicode strings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@76 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:32:17 +00:00
Just
9eaa7e3e5f
added support for instruction disassembly
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@75 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:31:18 +00:00
Just
51e75db43e
- added assembler: we've got a full round trip now!
...
- added toXML() and fromXML() methods
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@74 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:30:15 +00:00
Just
53602486b4
added support for instruction disassembly in saveXML()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@73 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:29:03 +00:00
Just
b852a417cf
- added methods to get composite component info conveniently
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@65 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-20 11:08:15 +00:00
Just
9682b4198b
use ".ttx" extension instead of ".xml". TTX is not the name of the format, not the app...
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@61 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-17 18:58:46 +00:00
Just
599cc2fdf5
Remove null bytes before dumping to XML. This seems neccesary, but I'm not sure if this breaks compilation.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@54 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-05 20:45:38 +00:00
Just
1be8095808
added TSIV table
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@53 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-05 20:44:19 +00:00