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
9c3744ad92
Added note about the incorrect old URL in the Adobe text, and reverted the text to what it was: it still is the latest officially released document, and I'd rather include it as-is.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@80 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-04 19:19:18 +00:00
Erik
76a9dd25d9
new URL for adobe's glyphlist doco
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@79 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-04 18:58:59 +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
af5694e3e0
added -i option. This will enable TT instruction disassembly.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@77 4cde692c-a291-49d1-8350-778aa11640f8
2000-02-01 15:53: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
ea2cc3f762
use ".ttx" extension instead of ".xml". TTX is now the name of the format, not just the app. Still needs work, though.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@63 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-19 12:37:17 +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
9b79e52328
renamed tt2xml.pt to ttDump.py and xml2tt.py to ttCompile.py
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@60 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-17 18:49:34 +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
41ca640f09
added eexecOp, C implementation of the new fontTools.misc.eexec module.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@55 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-12 19:13:29 +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
e9af618843
added -x <table> option, to exclude a specific table.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@51 4cde692c-a291-49d1-8350-778aa11640f8
2000-01-05 20:41:34 +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
ab15e0757e
When using -s (splitting files), save the xml files in a separate directory instead of in the same dir as the font file.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@43 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-29 13:10:59 +00:00
Just
72f102ca1a
Revert current directory after glob'ing for *.xml files
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@42 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-29 13:09:37 +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
94940dabb6
Added support to merge multiple XML files into one font (the opposite of tt2xml.py's -s option). Improved doc string.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@38 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 19:52:01 +00:00
Just
08ff1b43f0
Added -s option to split each table into a separate XML file.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@37 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 19:49:36 +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
c21f79539f
print final (timing) message when in verbose mode
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@35 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-27 15:40:43 +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