jvr
266bf21dbe
workaround for bug [ 766694 ] Error from invalid date
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@470 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 10:01:12 +00:00
jvr
980fae897a
bug #784690 : simple workaround for buggy name table
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@469 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 09:12:00 +00:00
jvr
a84b28d934
- Refactored XML writing, removed lots of code duplicaiton
...
- Only output unicode names as comments if we're in fact dealing with
a unicode cmap subtable (and this is -- in theory -- independent of
cmap format)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@468 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 09:06:58 +00:00
jvr
175f048123
whoops, rolling back accidental #! commits
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@467 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 08:24:37 +00:00
jvr
39c1918939
"Downgraded" AGL list to the "Adobe Glyph List For New Fonts", which is
...
most appropriate here. There may be a use for the "big" AGL, but that will
have to become a new module.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@466 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 08:12:50 +00:00
jvr
13325c613a
[ 845172 ] Updating to Unicode 4.0.0
...
Instead of using a list internally, I now use a dict, since the unicode
mapping is quite sparse (lots of unused slots).
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@465 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 07:47:41 +00:00
jvr
6588c4e2df
Patch #845551 from Anthony Fok:
...
- two minor typos
- changed copyright year in LICENSE (and it's 2004 now...)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@464 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 07:35:05 +00:00
jvr
0cd79a5642
Patch #845571 from Anthony Fok:
...
- better exception msg in loca table
- renamed "version" to "language" in cmap
- made cmap 12 work (untested by me)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@463 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 07:30:47 +00:00
jvr
7718d95951
whoops, forgot one part os OS/2 version 3 support
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@462 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-25 07:19:27 +00:00
jvr
30bcb12dcb
added support for OS/2 table #3
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@461 4cde692c-a291-49d1-8350-778aa11640f8
2004-09-24 18:33:19 +00:00
jvr
05e2541b49
Fixed subtle bug in curve intersection logic: due to floating point errors,
...
sometimes a legitimate solution is ever so slightly over 1.0. Those used to
be filtered out; now checking for 1.0 + 1e-10.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@460 4cde692c-a291-49d1-8350-778aa11640f8
2003-10-14 20:30:07 +00:00
jvr
8e1d75b1a3
ReverseChainSingleSubst support from Yannis H. (must get that generate-otdata-from-the-docs working again)
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@459 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-22 13:12:55 +00:00
jvr
df1f145e5a
bug from the spec leaked into here; pointed out by Yannis H.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@458 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-22 07:09:33 +00:00
jvr
7325cb480e
checked in with unix line endings -- this probably needs proper review
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@457 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-18 07:33:01 +00:00
jvr
8b8b44904e
- Implemented the flex operators for T2
...
- Changed a whole bunch of XXX traps into NotImplementedErrors
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@456 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-17 17:32:11 +00:00
jvr
deca398915
more doctests
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@455 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 11:30:29 +00:00
jvr
f184f75486
Added lots of doco and doctests.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@454 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 11:01:40 +00:00
jvr
0b0fec3b08
debogofied doc string, added another one
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@453 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 10:14:48 +00:00
jvr
d3ee2d4319
- Properly support the pen protocol for open sub paths in Type 1
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@452 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 09:48:28 +00:00
jvr
cc580ac0f8
Added Pen for reportlab.graphics.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@451 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-15 12:26:10 +00:00
jvr
27f108844e
this should have been part of the previous path by some fixes from klchxbec
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@450 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-11 07:11:35 +00:00
jvr
fbff58cd78
Correctly deal with the TT-no-on-curve special case.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@449 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-09 23:29:45 +00:00
jvr
23cb200532
Factored out the SuperBezier and TT-implied-point algorithms, as the
...
may be useful separately from pens.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@448 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-07 09:41:28 +00:00
jvr
40cde70f16
- added endPath() method to the Pen protocol, as a counterpart for
...
closePath() for *open* sub paths. This allows pen implementations
to reliably detect the end of a sub path.
- improved various doc strings.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@447 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-06 16:00:03 +00:00
jvr
49b5521f2e
ensure that the current point is always set correctly
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@446 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-05 14:18:26 +00:00
jvr
3a6aa2359e
tweaked doc string
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@445 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-02 19:23:13 +00:00
jvr
81383d6efc
more acks
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@444 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-01 16:10:22 +00:00
jvr
5aaeac3333
Ha, a reserved field got eaten. Noticed by Yannis Haralambous.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@443 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-01 15:09:29 +00:00
jvr
bb6041f834
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@442 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-30 06:46:56 +00:00
jvr
fc3879e463
- renamed all l,t,r,b tuff to xMin, yMin, xMax, yMax
...
- added ome more doc strings
- added some minimal test code
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@441 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-29 19:29:46 +00:00
jvr
6628513fe4
T2: I'm not sure if the seac-variant of the endchar operator may be
...
combined with actual outlines, but if it is, we need to do the closePath
before the components are added.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@440 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-29 08:05:39 +00:00
jvr
382df6c42a
added deprecated endchar/seac support for T2 charstrings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@439 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 20:43:06 +00:00
jvr
934fe5fb8f
- added support for quadratic contours that have NO on-curve points.
...
- more doco and comments.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@438 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 19:30:46 +00:00
jvr
53d7523c1c
more doco and comments
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@437 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 19:03:29 +00:00
jvr
1cff4cb190
workaround for buggy 2.2 mac support
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@436 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 18:23:43 +00:00
jvr
3430abf7ab
whitespace nits
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@435 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 18:14:33 +00:00
jvr
bafa66e665
Another patch from rroberts. He writes:
...
"""It adds full support for cmap format 2, which is what
the Adobe CJK fonts use for the Mac cmap subtable."""
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@434 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 18:04:23 +00:00
jvr
ceb3449e2b
whoops, forgot to add the .pens subpacke to the distutils script :-( noticed by rroberts.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@433 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 17:59:52 +00:00
jvr
4162de350e
Is the point inside or outside the outline?
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@432 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 08:51:45 +00:00
jvr
bfadfe33db
- Fixed ZeroDivisionError in solveCubic(). The solution is mathematically
...
dubious (I don't think 0.0/0.0 == 0.0...) but the result seems to be
correct.
- Documented that soleCubic() and solveQuadratic() are not guaranteed to
return the roots in order, and nor that they are guaranteed to not return
duplicate roots.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@431 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 19:20:33 +00:00
jvr
d028b7be3c
Set .width in _TTGlyph.__init__ after all: these are just this wrapper
...
objects, _TTGlyphSet doesn't cache them, so setting .width in .draw()
is confusing to say the least.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@430 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 19:00:38 +00:00
jvr
e028b38340
new Cocoa=specific drawing pen
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@429 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 18:20:27 +00:00
jvr
6f8f5ded55
fixed AttributeError in _TTGlyphSet.keys()
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@428 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 18:19:11 +00:00
jvr
d453a23b38
typo pointed out by Adam T.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@427 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-26 12:02:48 +00:00
jvr
4ca01eab4a
output don't-edit note
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@426 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 21:19:47 +00:00
jvr
6d9e8e8831
document that this file is generated
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@425 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 21:19:09 +00:00
jvr
77bc20a387
add rroberts to the Acknowledgements section; updated some years
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@424 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 21:16:12 +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
1c9917bcf4
comment typo fix, reflow
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@422 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 13:20:38 +00:00
jvr
808c7885bd
lots of stuff
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@421 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-25 13:18:23 +00:00