1622 Commits

Author SHA1 Message Date
Behdad Esfahbod
ddb95b6a54 Revert "Add back fontTools.xmlWriter"
This reverts commit f8c35b6f98717a3f1f799b722e3bcd5b9303735c.
2014-11-09 17:55:05 -08:00
Behdad Esfahbod
f8c35b6f98 Add back fontTools.xmlWriter
Fixes https://github.com/behdad/fonttools/issues/190
2014-10-28 23:50:59 -07:00
Behdad Esfahbod
da6497ea1f [subset] Fix example
Fixes https://github.com/behdad/fonttools/issues/192
2014-10-15 14:15:49 -07:00
Behdad Esfahbod
f864977b34 Merge pull request #188 from anthrotype/obfuscate6
[subset] drop nameIDs 16, 17 and 18 if obfuscate_name
2014-10-08 11:06:26 -07:00
Cosimo Lupo
a4aa9f2532 [subset] drop nameIDs 16, 17 and 18 if obfuscate_name 2014-10-08 11:42:36 +01:00
Behdad Esfahbod
19dadb37d6 One can't import fontTools.subset and fontTools.merge together
Fixes https://github.com/behdad/fonttools/issues/177
2014-10-07 17:37:29 -07:00
Behdad Esfahbod
3fd00adeda Merge pull request #185 from anthrotype/obfuscate3
[subset] also obfuscate nameIDs 16, 17 and 18, if present
2014-10-07 12:34:44 -07:00
Cosimo Lupo
d5660cdd0c also obfuscate name-IDs 16, 17 and 18 2014-10-07 13:36:10 +01:00
Behdad Esfahbod
11609db7cd Merge pull request #184 from davelab6/patch-1
Update README.md
2014-10-06 16:08:15 -07:00
Dave Crossland
615bc76198 Update README.md
Add a history section
2014-10-06 22:33:19 +01:00
Behdad Esfahbod
730bedd3d1 [AAT] Add support for 'feat' table
Reusing the otData machinery.

See discussion at:
https://github.com/behdad/fonttools/issues/178
https://github.com/behdad/fonttools/pull/180
2014-09-30 19:04:16 -04:00
Behdad Esfahbod
5dd64deacb [otData] add ULong types
In preparation for implementing AAT tables (slowly).
2014-09-30 18:55:57 -04:00
Behdad Esfahbod
a767e0298b Fix XML reading of True/False after safeEval() revert 2014-09-30 18:54:47 -04:00
Behdad Esfahbod
f3fa9a4e43 Merge pull request #171 from anthrotype/dropkern2
[subset] Add --legacy-kern option to drop TrueType kern if GPOS is available

Fixes: https://github.com/behdad/fonttools/pull/171
2014-09-30 15:19:56 -04:00
Jens Kutilek
5614845b03 Try again to put padding code for Glyph.graphicType in the right place 2014-09-30 15:16:52 -04:00
Cosimo Lupo
8b081fed0b added --legacy-kern option to drop TrueType kern if GPOS is available 2014-09-30 19:29:53 +01:00
Behdad Esfahbod
7834371f2a Merge pull request #172 from adrientetar/qt-2
pens: qtPen tuple unpacking (py3/PEP3113)
2014-09-25 23:39:12 +03:00
Adrien Tétar
65be78bd59 pens: qtPen tuple unpacking (py3/PEP3113)
http://legacy.python.org/dev/peps/pep-3113/
2014-09-25 22:15:23 +02:00
Behdad Esfahbod
0100e03a70 Merge pull request #170 from anthrotype/obfuscate
[subset] Add --obfuscate-names that makes webfont unusable as a system font
2014-09-25 18:02:53 +03:00
Cosimo Lupo
450f8d42bb updated __doc__ 2014-09-25 15:42:13 +01:00
Cosimo Lupo
a73530aa79 added --obfuscate-names to make webfont unusable as a system font 2014-09-25 15:19:38 +01:00
Behdad Esfahbod
8388a2e37c Revert "Use ast.literal_eval to implement safeEval"
This reverts commit f5d123be5e342d91c2fa964ddae2844bc633d08e.

Fixes https://github.com/behdad/fonttools/issues/164
See issue for details.
2014-09-24 18:15:51 +03:00
Jens Kutilek
c3b3fee638 Cleanup 2014-09-24 13:54:25 +03:00
Jens Kutilek
55d1d367c4 Use safeEval for attributes 2014-09-24 13:54:25 +03:00
Jens Kutilek
ad04a9e200 Dump sbix flags as a bit field 2014-09-24 13:54:25 +03:00
Jens Kutilek
035008bded Pad graphicType if len() < 4 2014-09-24 13:54:25 +03:00
Jens Kutilek
5d004eb936 Rename Bitmap to Glyph 2014-09-24 13:54:25 +03:00
Jens Kutilek
141188bd00 Renamed imageFormatTag to graphicType 2014-09-24 13:54:25 +03:00
Jens Kutilek
3c03e75e9f Nicer names 2014-09-24 13:54:24 +03:00
Jens Kutilek
2c4713ad0b Renamed bitmaps to glyphs 2014-09-24 13:54:24 +03:00
Jens Kutilek
2f94365340 Rename self.bitmapSets to self.strikes etc. 2014-09-24 13:54:24 +03:00
Jens Kutilek
9106d1d8e8 Rename sbixBitmapHeader... to sbixGlyphHeader... 2014-09-24 13:54:24 +03:00
Jens Kutilek
cb905522b1 Renamed sbixBitmapSet... to sbixStrike... 2014-09-24 13:54:24 +03:00
Jens Kutilek
473d57bef1 Renamed BitmapOffset to GlyphDataOffset 2014-09-24 13:54:24 +03:00
Behdad Esfahbod
4e860eb40b Merge pull request #160 from khaledhosny/fix-TTGlyph.draw
Fix: 'list' object has no attribute 'tolist'
2014-09-24 11:56:14 +03:00
Behdad Esfahbod
6233dc5e3a Merge pull request #162 from fontfont/master
Fix calculation of offsets for second strike in sbix table
2014-09-22 23:41:09 +02:00
Behdad Esfahbod
1f5b00bbbf [subset] Add --unicodes='*' and --glyphs='*' 2014-09-22 23:32:23 +02:00
Jens Kutilek
2e262319eb Implement originOffsetX/Y for glyph data records 2014-09-22 18:18:01 +02:00
Jens Kutilek
89e9842d0b Rename size to ppem 2014-09-22 17:20:04 +02:00
Jens Kutilek
590906c7b4 Rename BitmapSet to Strike 2014-09-22 17:07:01 +02:00
Jens Kutilek
20125e16f4 Rename numSets to numStrikes 2014-09-22 16:58:55 +02:00
Jens Kutilek
d06c71932e Rename unknown fields to version, flags (again) 2014-09-22 16:54:43 +02:00
Jens Kutilek
8f9fcd911d Remove padding from comment ;) 2014-09-22 16:02:36 +02:00
Jens Kutilek
64dc269f3c Padding for strikes is apparently not necessary
… nor is it in the spec.
2014-09-22 15:58:39 +02:00
Jens Kutilek
dd69de96cd Fix wrong calculation of offsets for second strike 2014-09-22 15:38:02 +02:00
Khaled Hosny
f329808703 Fix: 'list' object has no attribute 'tolist' 2014-09-21 19:18:46 +03:00
Behdad Esfahbod
269e34bdf5 Merge pull request #159 from adrientetar/qt
pens: add a Qt pen
2014-09-20 12:14:44 +02:00
Adrien Tétar
8ed8e46659 pens: add a Qt pen 2014-09-20 10:21:33 +02:00
Jens Kutilek
fe4a723322 Try again 2014-09-19 18:19:28 +02:00
Jens Kutilek
7c99304474 Change unknown header fields to version, flags 2014-09-19 17:51:13 +02:00