jvr
b0e5f299ff
use spaces for alignment
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@222 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 11:21:48 +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
ce1d50aca8
Applied patch from Owen Taylor that allows zero-length tables to be ignored. Added comment why.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@219 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-12 17:02:50 +00:00
jvr
56bfea4317
minor restructuring
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@214 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:44:06 +00:00
jvr
4bb05c6ad4
added support for the new ttdump -s output: read file references from mini-ttx file
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@213 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:38:26 +00:00
jvr
0f29303474
change how saveXML with splitTable=True works: it no longer creates a directory, and outputs a small file that references the individual table files
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@212 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-11 21:18:12 +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
9f1e14bec9
Work around bootstrapping problem in TTFont._getGlyphNamesFromCmap():
...
If the cmap parser was the one to cause _getGlyphNamesFromCmap() to be
called, no unicode cmap was found as it was just starting to get
loaded. This resulted in different glyph names, depending on when
the cmap parser was invoked.
Also added a bunch of comment describing what this method does.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@204 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-05 11:29:33 +00:00
jvr
cf4b3b3d9b
renamed _getTableData() to getTableData(); optimized getGlyphOrder() somewhat.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@202 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-05 09:48:31 +00:00
jvr
f707463256
added support for deleting tables: del f[tag]
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@201 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-04 22:04:02 +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
25ccb9c346
MacPython 2.2 compatibility fix.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@199 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-03 19:38:07 +00:00
jvr
753b39b57d
typos, version update, date update
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@196 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-03 19:03:49 +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
e82b4d5658
only keep the orginal table around in two special cases.\n this fixes a problem with importing individual tables.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@186 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-02 20:54:08 +00:00
jvr
320b48a9bf
eexecOp may be a global module or a submodule.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@185 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-02 15:26:50 +00:00
jvr
d04a3bb4f9
use version from fontTools.__init__.py
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@184 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-02 15:23:25 +00:00
jvr
9b7b8e0f5b
re-added progress support, to be tested
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@183 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-02 15:16:45 +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
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
3c3c32c5a4
Charnames can contain a period anywhere, not just at the start.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@178 4cde692c-a291-49d1-8350-778aa11640f8
2002-03-12 14:34:43 +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
90290b7bd9
At the expense of some speed, find the end of an excrypted portion
...
more acurately. This fixes an obscure problem with Fog 4 fonts.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@175 4cde692c-a291-49d1-8350-778aa11640f8
2001-11-28 12:22:15 +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
aa00a279ae
behave nicely when *any* subpath doesn't start with a moveto.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@171 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-16 11:02:05 +00:00
jvr
239498a496
behave nicely when the font doesn't do an initial moveto.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@170 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-16 10:35:28 +00:00
jvr
8c74f4639a
fixed saveAs()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@169 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-16 10:34:22 +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
jvr
a929e0cb16
added version variable
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@160 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-10 16:49:56 +00:00
jvr
f20ab43db0
eexecOp may also be a global module.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@141 4cde692c-a291-49d1-8350-778aa11640f8
2001-08-09 19:00:02 +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
e9601bf9e1
updated OpenResFile() to FSpOpenResFile() and CreateResFile() to
...
FSpCreateResFile() for carbon compatiblilty.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@138 4cde692c-a291-49d1-8350-778aa11640f8
2001-07-30 19:04:40 +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
b68a700595
don't print extra error info to stdout
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@136 4cde692c-a291-49d1-8350-778aa11640f8
2001-06-24 15:14:06 +00:00
Just
5810aa9967
renamed a bunch of things to use CamelCase
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@135 4cde692c-a291-49d1-8350-778aa11640f8
2001-06-24 15:12:48 +00:00
Just
6175debd67
improved API for creating AFM files from scratch
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@134 4cde692c-a291-49d1-8350-778aa11640f8
2001-06-24 15:11:31 +00:00
Just
0d51707e72
fixed style strings bug, as triggered by the Thorndale font.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@133 4cde692c-a291-49d1-8350-778aa11640f8
2001-06-24 15:10:02 +00:00
Just
32f868492c
- added support for composite info
...
- write attributes in a decent order
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@132 4cde692c-a291-49d1-8350-778aa11640f8
2001-04-30 14:40:17 +00:00
Just
344757f42d
minor cleanups
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@131 4cde692c-a291-49d1-8350-778aa11640f8
2001-04-20 18:39:21 +00:00