416 Commits

Author SHA1 Message Date
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
Just
ff3499de66 - Added skiptTables argument to TTFont.saveXML(), to support -x option of tt2xml.py
- Fixed typo


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@52 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-05 20:43:36 +00:00
Just
7cb6272bd4 Added private VOLT (?) tables: TSIB, TSID, TSIP, TSIS. Easy, since they're plain ascii tables.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@50 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-04 14:03:13 +00:00
Just
b0860a8c2b added some initializer in case the table is empty.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@49 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-04 14:02:05 +00:00
Just
484a67ebb1 while the OT modules are in progress, disable decompilation and fall back to hex dumps.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@48 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-04 14:01:29 +00:00
Just
d0beb0eb84 cleaned up error message for failing version test
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@46 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-03 23:01:46 +00:00
Just
e23942f0e6 added error messages to the assert statements
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@45 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-03 23:00:55 +00:00
Just
f8fd4777d2 Added code to fall back to the DefaultTable (and therefore to hex XML dumps) when an exception occurs during decompilation.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@44 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-03 23:00:10 +00:00
Just
b0e2817fad Treat platformID=3, platEncID=0 also as Unicode strings.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@41 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-29 13:07:22 +00:00