4968 Commits

Author SHA1 Message Date
jvr
ed10151701 Lots of CID work by rroberts.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@407 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 19:53:32 +00:00
jvr
700df03131 - attempted to sort tables in order recommended by spec.
TODO: need to fix table dependency order to complete this.
  (Read: would you mind posting a bug report regarding this?)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@406 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 19:44:08 +00:00
jvr
f509c0f070 support for CEF fonts: don't depend on the head table being available
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@405 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 19:38:37 +00:00
jvr
07dd0e4504 recalc numGlyphs upon writing
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@404 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 19:34:48 +00:00
jvr
d407973545 update macUtils to current day MacPython
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@403 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 18:56:01 +00:00
jvr
5149e18031 attempt to set the value for fRectWidth 'more correctly'
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@402 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 18:53:29 +00:00
jvr
0bb3ba5222 some modernizations
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@401 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 18:52:22 +00:00
jvr
2e838ce766 Jaguar Python 2.2 workaround
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@400 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-22 18:50:44 +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
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
5910f97146 add default _attrs value so pickling AFM objects doesn't blow up
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@393 4cde692c-a291-49d1-8350-778aa11640f8
2003-05-24 12:50:47 +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
e73b8a53a5 Fix for bug #691744; calc_mac_epoch_diff() was broken when the timezone
was GMT (or perhaps other situations; it's not entirely clear).


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@391 4cde692c-a291-49d1-8350-778aa11640f8
2003-02-23 19:40:07 +00:00
jvr
924e4e274e cmap format 12 support, donated by rroberts: thanks!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@390 4cde692c-a291-49d1-8350-778aa11640f8
2003-02-08 10:45:23 +00:00
jvr
a87cde236e second try to work around bogus stringOffset value
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@389 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-25 18:20:22 +00:00
jvr
b71d0f46f6 renamed stringoffset to stringOffset as per spec
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@388 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-25 11:15:42 +00:00
jvr
aabca6d793 gracefully handle bogus stringOffset values (thanks to Anthony Fok)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@387 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-25 11:14:59 +00:00
jvr
1332d3e549 clean up checkSumAdjustment XML output: suppress trialing 'L'
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@386 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-10 22:34:13 +00:00
jvr
26fc63c854 fix from Owen Taylor that fixes my previous patch; thanks!
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@385 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-10 22:23:46 +00:00
jvr
df22c27d92 detab table string literal
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@384 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 21:29:23 +00:00
jvr
130c1a0d9c make two fields unsigned, to conform to the spec but also to suppress Python 2.3 warnings for hex(negativenumber).
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@383 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 21:23:04 +00:00
jvr
02e76e905f suppres Python 2.3 warning
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@381 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 20:57:04 +00:00
jvr
b9702ba0f1 Added support for the Encoding field. (Adam, please let me know if this
works for you.)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@380 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 20:56:01 +00:00
jvr
257fba7172 make sure Coverage instances have a 'glyphs' attribute
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@379 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 20:54:31 +00:00
jvr
4170cfd5e9 allow OS/2 tables containing too much data
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@378 4cde692c-a291-49d1-8350-778aa11640f8
2003-01-03 20:52:42 +00:00
jvr
31ad351b75 allow negative advance widths
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@377 4cde692c-a291-49d1-8350-778aa11640f8
2002-11-26 14:09:52 +00:00
jvr
b4e94d9772 try Carbon.Res first.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@375 4cde692c-a291-49d1-8350-778aa11640f8
2002-10-29 15:49:25 +00:00
jvr
44751311bf revised comment, added note about MS disagreement, removed alignment tabs
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@374 4cde692c-a291-49d1-8350-778aa11640f8
2002-10-27 19:47:51 +00:00
jvr
b74f03c7e5 fixed previous fix: it assumed 4 bytes of data, which is wrong
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@372 4cde692c-a291-49d1-8350-778aa11640f8
2002-10-08 14:22:16 +00:00
jvr
c3974fb055 Handle negative long time values gracefully instead of looping infinitely. Reported by Jessica P. Hekman
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@371 4cde692c-a291-49d1-8350-778aa11640f8
2002-10-07 21:34:47 +00:00
jvr
a138467da3 deal gracefully with empty coverage tables; fixes bug 611509
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@370 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-24 20:50:57 +00:00
jvr
898295619d minor cleanups
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@368 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-16 08:10:05 +00:00
jvr
bc90c7a05b interpret any version value as 0x0001000 if it's not 0x00005000 (workaround for buggy font)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@367 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-16 08:06:48 +00:00
jvr
f7f0f74419 ugh, the zfill string method doesn't exist in 2.2.1 and earlier :-(
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@366 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-14 15:31:26 +00:00
jvr
d2c3ea897c bumped version to 2.0b2
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@364 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-13 12:07:48 +00:00
jvr
4845ba5fa5 whoops, reversed key and value
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@363 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-13 12:04:13 +00:00
jvr
70e2cb86e8 add simple support for Mac Suitcases, when running on MacOS
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@358 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 22:59:09 +00:00
jvr
f2164abef3 added manual implementation of LigatureSubst to get nicer XML output
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@355 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 21:48:03 +00:00
jvr
b2486125e9 added manual implementation of AlternateSubst to get nicer XML output
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@354 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 21:21:58 +00:00
jvr
a1dfa2b77a added manual implementation of ClassDef to get nicer XML output as well as to get rid of GlyphID dependencies
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@353 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 20:51:09 +00:00
jvr
2921bb25cd doh! fixed wrong indentation, now does batch jobs again...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@352 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 20:05:23 +00:00
jvr
1d6360af4c added manual implementation of SingleSubst to get nicer XML output as well as to get rid of GlyphID dependencies
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@351 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 19:54:02 +00:00
jvr
3507eeb3d8 don't barf on empty name tables (!)
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@349 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 19:07:39 +00:00
jvr
1c803b6988 moved all ttx code to new fontTools.ttx module
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@346 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 17:33:12 +00:00
jvr
1a53beb7b4 renamed table to rawTable
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@344 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 17:09:13 +00:00
jvr
d41386e7f7 added manual implementation for the Coverage subtable to get rid of GlyphID dependencies
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@341 4cde692c-a291-49d1-8350-778aa11640f8
2002-09-12 16:47:02 +00:00