jvr
9920ad5286
added and tweaked some asserts
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@414 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 16:25:12 +00:00
jvr
6385a4e9e1
remove trailing whitespace
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@413 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 16:17:11 +00:00
jvr
9e58c90401
this module has been included in so many (in house) packages that it's time it gets a more central place.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@399 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 14:56:48 +00:00
jvr
efaae5245c
- optimized a couple of invariant expressions
...
- made sure solveCubic() also works when called with integer arguments
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@398 4cde692c-a291-49d1-8350-778aa11640f8
2003-06-29 19:25:05 +00:00
jvr
9524c7bdd3
splitLine(): make sure the split is between the end points
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@397 4cde692c-a291-49d1-8350-778aa11640f8
2003-06-29 18:32:00 +00:00
jvr
05b4b4a271
new module bezierTools.py
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@396 4cde692c-a291-49d1-8350-778aa11640f8
2003-06-29 18:25:07 +00:00
jvr
182a7ba7be
two new functions
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@395 4cde692c-a291-49d1-8350-778aa11640f8
2003-06-29 18:18:54 +00:00
jvr
d7787131e4
'python' implementation of hex functions
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@290 4cde692c-a291-49d1-8350-778aa11640f8
2002-07-23 09:26:19 +00:00
jvr
1e59feca35
finally upgraded psLib to use re instead of the long obsolete regex module.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@271 4cde692c-a291-49d1-8350-778aa11640f8
2002-06-04 19:11:03 +00:00
jvr
b6eda92dd1
nits
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@270 4cde692c-a291-49d1-8350-778aa11640f8
2002-06-04 19:10:14 +00:00
jvr
b58176e5ac
added support for raw bytecode: this happens unintentionally for subrs that aren't referenced, but it's good to have anyway, in case we want to switch T2 decompilation off.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@257 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 11:55:37 +00:00
jvr
4e5af60930
CFF/T2 <-> XML roundtripping has begun!
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@254 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-24 09:58:04 +00:00
jvr
f2cf9c5d6d
first working version of CFF/T2 compiler; needs cleanup/refactoring, and doesn't import from XML yet; hardly tested.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@253 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-23 21:50:36 +00:00
jvr
586345b7c1
fixed ctnrmask problem: hints weren't counted correctly
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@247 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 18:37:07 +00:00
jvr
455af6592b
first stab at compiling T2 CharStrings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@244 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-17 07:07:26 +00:00
jvr
6f03a58f59
(nit)
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@239 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-16 18:13:01 +00:00
jvr
dc18128aa9
added delta array support to DictDecompiler
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@235 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-15 07:40:33 +00:00
jvr
bf2f402913
fix argument type order
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@233 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-14 13:49:50 +00:00
jvr
dbc2c173b3
moved some stuff to cffLib
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@225 4cde692c-a291-49d1-8350-778aa11640f8
2002-05-13 16:19:51 +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
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
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
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
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
Just
df83623cfe
module to find the home file of a resource (handy for finding suitcase files when all you have is a resource)
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@113 4cde692c-a291-49d1-8350-778aa11640f8
2000-07-03 18:45:58 +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
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
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
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
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
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
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
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