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
de7a3c4aa1
fixed buglet in num2binary()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@72 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:28:18 +00:00
Just
dab433233b
fixed broken import
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@71 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-31 14:33:17 +00:00
Just
2234b04613
minor doc string change
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@70 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-31 14:31:16 +00:00
Just
deb3b632f4
Two new functions:
...
- vectorLength(vector): calculate the length of a vector
- asInt16(): round and cast any array (or number) to 16 bit ints
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@69 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-26 19:32:45 +00:00
Just
56804d237a
Support for interface checking. Experimental.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@68 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-26 19:20:06 +00:00
Just
02a739a0d5
new functions: unionRect() and rectCenter()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@67 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-23 19:10:27 +00:00
Just
b3026bad35
added intRect() function. Turn any rect into a rect using ints only.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@66 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-22 00:26:07 +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
fda65735a4
various changes:
...
- the Transformation class is now a little cleaner & smarter
- pens now have a reference to a font
- pens have a new method called drawGlyph(), which is needed for composites.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@64 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-19 20:44:33 +00:00
Just
be7163c428
added a bunch of rectangle tools that mimic some Qd.*Rect functions, like Qd.InsetRect.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@62 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-18 22:29:39 +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
528614e6e2
Moved psCharStrings.py, psLib.py and psOperators.py to fontTools.misc, since they're not "toplevel" font tools.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@59 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-16 22:14:02 +00:00
Just
470b5050ee
yet another reorganization round...
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@58 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-16 20:37:11 +00:00
Just
c2be3d982b
Changes to use the new fontTools.misc.eexec module instead of the old eexec module.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@57 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-12 19:15:57 +00:00
Just
6c53f88cf3
added fontTools.misc.eexec and a MacOS/PPC shared lib (eexecOp) that provides the C implementation.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@56 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-12 19:15:12 +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
e414c92045
set XML file type to BBEdit when on MacOS
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@47 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-04 13:51:59 +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
Just
7dcc91674e
- fixed broken agl import
...
- changed TTFOnt.saveXML + splitTables<>0 behavior: now expects a path to a directory
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@40 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-29 13:06:08 +00:00
Just
1670f7af0e
XMLApplication: don't create a new table when a table with that tag already exist in the TTFont object.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@39 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 20:02:32 +00:00
Just
d28479b066
Added optional splitTables argument to TTFont.saveXML(). Set to non-zero, this will cause each table to be dumped to an idividual XML file.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@36 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 19:48:21 +00:00
Just
7a8ca4af56
slight cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@34 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 15:39:18 +00:00
Just
98d780d766
edited TTFont.__init__ doc string, the recalcBBoxes explanation should now be clearer and more complete.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@33 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-23 15:16:22 +00:00
Just
65df20b04f
added browseTTFont() function.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@32 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-23 14:44:59 +00:00
Just
3e097c6095
don't recalc a number of things then TTFont().recalcBBoxes is off. This allows us to compact glyphs right after they've been parsed from XML, which should greatly reduce memory usage, and therefore should speedup compiling large fonts.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@31 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-23 14:44:16 +00:00
Just
fd5a93240e
oops: header struct is big endian of course! noted by Werner Lemberg.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@30 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-23 12:32:30 +00:00
Just
ec46d16d21
dummy checkin -- testing
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@26 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-20 22:02:10 +00:00
Just
15aae2e2ec
added $Id$ tag.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@25 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-20 21:59:49 +00:00
Just
5a16f847f1
dummy commit, testing
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@18 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 22:56:47 +00:00
Just
869c6f3ffa
moved an import statement
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@17 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 21:32:40 +00:00
Just
19383f07df
now uses fontTools.encodings.StandardEncoding instead of defining its own
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@16 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 21:30:39 +00:00
Just
b981eb2750
added some encoding files in a new subpackage: fontTools.encodings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@15 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 21:29:28 +00:00
Just
e4d59426c5
added recalcBBoxes argument to Glyph.compile()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@11 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 18:08:07 +00:00
Just
88cb4f33c6
added recalcBBoxes argument to TTFont.__init__()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@10 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 18:06:25 +00:00
Just
8bc8cf850d
minor cleanup of some doc strings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@9 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-17 12:54:19 +00:00
Just
f78bec0357
added __release__ symbol, changed __version__ to $Id$.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@8 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-17 12:51:21 +00:00
Just
74e0b7f2d7
added doc string saying that this module is Mac-only.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@6 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-17 12:37:55 +00:00