Behdad Esfahbod
400e9539fd
Improve import handling
...
For example trying to run fontTools on Jython or PyPy fails
because they don't have a numpy module. However, the error
is caught by the getTableModule() and instead DefaultTable
used for tables that use numpy in their implementation. Fix
that.
2013-08-19 14:17:10 -04:00
Behdad Esfahbod
b0dc6dfc8b
Add support for saving WOFF file format
2013-08-19 14:17:02 -04:00
Behdad Esfahbod
58d7416124
Add support for loading WOFF file format
2013-08-19 14:16:49 -04:00
Behdad Esfahbod
f09f1d4064
Raise exceptions on unimplemented T2CharString operators
2013-08-19 14:16:07 -04:00
Behdad Esfahbod
183afe6408
Optimize Coverage.postRead()
2013-08-19 14:16:07 -04:00
Behdad Esfahbod
12fd2ea9dc
Turn "too much glyph data" into a warning
...
Some tools generate 4 bytes of padding where 0 is needed...
It's recoverable, so make it a warning.
2013-08-19 14:16:07 -04:00
Behdad Esfahbod
7d2c10ec74
Allow toXML() to be called on individual tables
...
Was hitting a missing attribute since disassembleInstructions was
being set by saveXML() only.
2013-08-19 14:16:06 -04:00
Behdad Esfahbod
85be2e0a97
Change duplicate-name resolution from n^2 to linear time
...
For a font with thousands of glyphs with the same name (like ipagp.ttf)
this was taking 9 seconds to complete. Less than a millisecond now!
2013-08-19 14:16:06 -04:00
Behdad Esfahbod
26549ce298
Warn about excess data in kern table instead of aborting
2013-08-19 14:16:06 -04:00
Matt Fontaine
65499c1042
Minor improvement to TableStack
...
Push/pop on the end side, which should be faster.
2013-08-19 14:16:06 -04:00
Behdad Esfahbod
50d9a44e58
Add support for Microsoft COLR/CPAL layered color glyphs
2013-08-19 14:16:06 -04:00
Matt Fontaine
7baa13689c
Add -z flag to ttx to choose a bitmap dump format
2013-08-19 14:16:04 -04:00
Matt Fontaine
b9ba775413
Add support for Google CBLC/CBDT color bitmaps
2013-08-19 14:15:58 -04:00
Matt Fontaine
c33b0a22ef
Add support for standard EBLC/EBDT embedded bitmaps
2013-08-19 14:15:46 -04:00
pabs3
ec62dbe03e
Release fonttools version 2.4
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@619 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 14:25:03 +00:00
pabs3
278d4d8cea
Fix syntax error
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@617 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 08:16:33 +00:00
pabs3
e83b4c4482
Detect both types of quotes when detecting OTF vs TTF XML.
...
Fixes: http://sourceforge.net/p/fonttools/bugs/47/
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@616 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 08:13:22 +00:00
pabs3
5f4193373b
Writing to stdout is not actually implemented yet
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@615 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 06:47:34 +00:00
pabs3
fb37a24708
Implement writing output to arbitrary files including stdout.
...
Partially-fixes: http://sourceforge.net/p/fonttools/feature-requests/7/
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@614 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 06:43:01 +00:00
pabs3
3ac875aa1d
Fix consistency of space/tab usage.
...
Reference: http://docs.python.org/reference/lexical_analysis.html#indentation
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@613 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-12 05:04:24 +00:00
jvr
e0ddc58fc2
Georg Seifert: fix bug with Apple's kern table format
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@612 4cde692c-a291-49d1-8350-778aa11640f8
2012-11-10 17:58:30 +00: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
Tal Leming
ab41436934
Redundant test. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@576 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 18:00:18 +00:00
Tal Leming
da3a12b104
Redundant test. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@575 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:57:39 +00:00
Tal Leming
4158e6aea2
Handle the default layer test a bit more efficiently. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@574 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:53:17 +00:00
Tal Leming
89daa72612
Checks needed for the dir attribute. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@573 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:42:58 +00:00
Tal Leming
a6ae274211
Wrong value being pushed to a function. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@572 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:40:33 +00:00
Tal Leming
d001b43ea7
validKeys was not referenced. Caught by Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@571 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:38:27 +00:00
Erik van Blokland
8c864d3171
This adds a simple test of the MarginPen object. Basically to make sure the update to new style object doesn't cause any problems. Can't tell because AngledMarginPen seems to have other internal problems.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@569 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 15:01:12 +00:00
Erik van Blokland
ab3c6bca2f
This adds a simple test of the MarginPen object. Basically to make sure the update to new style object doesn't cause any problems.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@568 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 14:21:38 +00:00
Erik van Blokland
445e45d755
This adds a simple test of the ControlBoundsPen object. Basically to make sure the update to new style object doesn't cause any problems.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@567 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 11:28:46 +00:00
Just van Rossum
a12cd22201
removed oboloete adapter pen
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@566 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 10:34:45 +00:00
Tal Leming
c96d464472
Bug fix patch from Lasse Fister.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@563 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 12:59:23 +00:00
Tal Leming
e2710f2b7c
Extension elements may have an id attribute.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@562 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 12:55:19 +00:00
Tal Leming
f08ef513ee
Don't assume that the glyph name is ASCII.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@561 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 01:42:52 +00:00
Tal Leming
41cc594e40
Merge changes from trunk.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@557 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 12:32:32 +00:00
Erik van Blokland
4875fc675f
Tweaks in the documentation.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@553 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 11:59:11 +00:00
Tal Leming
e05354fe33
Duplicate records are now allowed.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@551 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:38:32 +00:00
Tal Leming
1dcbf6c73e
The last table is no longer required to be 0xFFFF.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@550 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:34:28 +00:00
Tal Leming
c09c53485c
The UFO 3 spec requires ints for many format specific fields now.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@549 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:25:21 +00:00
Tal Leming
3fb94d2b65
Make the automatic group rename mapping available.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@548 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-30 15:19:05 +00:00
Tal Leming
4e71814629
Further implementation of these objects by Frederik.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@547 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-27 14:15:48 +00:00
Tal Leming
4cf0d74b48
Clarified a requirement in the spec: smooth is allowed in any point type except offcurve.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@546 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-17 15:13:52 +00:00
Tal Leming
b1b40b80fa
Going to try this again.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@544 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-05 23:23:44 +00:00
Tal Leming
6fca833045
The winds have changed.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@541 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:14:46 +00:00
Tal Leming
a9b9f7bf32
For posterity's sake, here is incomplete work on BaseContour.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@540 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:14:03 +00:00
Tal Leming
f4333208b2
For posterity's sake, here is incomplete work on RContour.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@539 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:13:47 +00:00
Tal Leming
2046f68815
Removed the weird glyph.getGlyph(glyphName) method.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@537 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-29 22:11:11 +00:00
Tal Leming
75f3ef6bbe
Implementing RGlyph and cleaning up BaseGlyph.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@536 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-29 22:10:07 +00:00
Tal Leming
4edebba7fc
Fixes for layer info.
...
git-svn-id: http://svn.robofab.com/branches/ufo3k@535 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 04:20:47 +00:00