Behdad Esfahbod
dc0ce0b498
py23 fixes for psLib and t1Lib
...
Still not working with Python 3 as psLib's PSTokenizer subclasses
StringIO and expects it to have buf and pos. Need to rewrite
this to implement StringIO internally.
2013-12-07 12:04:23 -05:00
Behdad Esfahbod
dc87372c88
Use True/False instead of 1/0
2013-12-04 21:28:50 -05:00
Behdad Esfahbod
153ec40209
Fix a few pychecker warnings
...
Fixes https://github.com/behdad/fonttools/issues/58
2013-12-04 01:15:46 -05:00
Denis Jacquerye
af1c9968b2
from __future__ imports must be first for python 3.3.2
...
adding \ to break lines in fontTools/misc/transorm.py
unneeded closing parenthesis in T_S_I__1.py
2013-11-29 16:03:42 -05:00
Behdad Esfahbod
e388db566b
py23 Use new-style classes
...
Such that we get the same semantics in both Python 2 and 3.
2013-11-28 18:53:30 -05:00
Behdad Esfahbod
18316aa769
ps23 More bytes fixes. All ''join()'s fixed
2013-11-28 17:32:43 -05:00
Behdad Esfahbod
319c5fd10e
py23 introduce byteord() and use it
2013-11-28 17:32:42 -05:00
Behdad Esfahbod
32c10eecff
py23 from __future__ import division and adjust divisions
2013-11-28 17:32:42 -05:00
Behdad Esfahbod
30e691edd0
py23 from __future__ import print_function
2013-11-27 17:27:45 -05:00
Behdad Esfahbod
b7a2d797a4
py23 Use bytechr() instead of chr()
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
7ed91eca1e
py23 import in all nontrivial source files and unused import cleanup
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
14fb031125
Remove most uses of module string
2013-11-27 14:01:44 -05:00
Behdad Esfahbod
ac1b435946
2to3 --fix=idioms
2013-11-27 04:15:34 -05:00
Behdad Esfahbod
dc7e6f3e55
2to3 --fix=repr
2013-11-27 02:44:56 -05:00
Behdad Esfahbod
cd5aad92f2
2to3 --fix=raise
2013-11-27 02:42:28 -05:00
Behdad Esfahbod
180ace6a5f
2to3 --fix=ne
2013-11-27 02:40:30 -05:00
jvr
91bca42442
merging fixes & changes from delft-sprint-2012
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@611 4cde692c-a291-49d1-8350-778aa11640f8
2012-10-18 12:49:22 +00:00
jvr
e56bc902cf
- t1Lib.py can now properly read PFA fonts
...
- fixed "flex" bug in T1 charstring reader
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@549 4cde692c-a291-49d1-8350-778aa11640f8
2008-03-10 21:58:00 +00:00
jvr
45d1f3b3b5
- removed support for Python 2.2 on MacOS 10.2
...
- worked around a bug in GetCreatorType() on intel Macs
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@526 4cde692c-a291-49d1-8350-778aa11640f8
2008-03-01 11:34:54 +00:00
jvr
10fd22a989
expose onlyHeader keyword arg to generic read() func
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@483 4cde692c-a291-49d1-8350-778aa11640f8
2005-01-25 19:06:51 +00:00
jvr
7d4b693627
add the generic getGlyphSet() API to T1Font as well.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@423 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 17:53:29 +00:00
jvr
489d76a340
Refactored outline extraction for CharStrings. The interface to
...
T{1,2}OutlineExtractor is not backwards compatible and this change
basically makes them private classes: CharStrings now have a .draw()
method that takes a Pen object (see fontTools.pens.*), so you never
have to deal with the extractor objects yourself. Only lightly tested.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@417 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 19:56:16 +00:00
jvr
b19141e489
avoid FSSpec on MacOS
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@394 4cde692c-a291-49d1-8350-778aa11640f8
2003-06-07 15:15:51 +00:00
jvr
59afba7684
updated for MacPython2.3
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@392 4cde692c-a291-49d1-8350-778aa11640f8
2003-05-24 12:34:11 +00:00
jvr
05a16f2310
break before adding the data..
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@297 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-29 21:39:06 +00:00
jvr
da0d805d26
added only-read-the-header feature to readLWFN(), similar to readPFB()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@296 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-29 21:33:46 +00:00
jvr
db1f2800e1
back out pfa 'fix'; it reverses a bug fix from last year...
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@291 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 14:54:47 +00:00
jvr
e568dc77d3
fixed handling of PFA files by being less smart about figuring out the end of the eexec part
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@289 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 09:25:42 +00:00
jvr
22433b1f52
don't test for os.name, as the mac stuff now all works under darwin/posix as well
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@279 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-12 19:20:19 +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
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
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
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
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
3618300613
some minor improvements
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@103 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-28 10:38:43 +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
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
7842e56b97
Created a new library directory called "FreeLib". All OpenSource RFMKII components will reside there, fontTools being the flagship.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@2 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-16 21:34:53 +00:00