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
Jens Kutilek
3b42e16cb2
Rename import in sbixStrike.py
2014-09-19 16:22:02 +02:00
Jens Kutilek
2aa0e9e524
Rename imports in _s_b_i_x.py
2014-09-19 16:21:23 +02:00
Jens Kutilek
c1378d345b
Rename sbixBitmap to sbixGlyphData
2014-09-19 16:21:03 +02:00
Jens Kutilek
484fe4d11d
Rename sbixBitmapSet to sbixStrike
2014-09-19 16:16:17 +02:00
Behdad Esfahbod
f1d9b37a77
Merge pull request #157 from olivierberten/kern
...
Missing argument in KernTable_format_2.toXML function
2014-09-18 15:12:48 +02:00
Olivier Berten (selapa.net)
bc839d342f
Since KernTable_format_2 doesn't bring anything more than KernTable_format_unkown, let's get rid of it for now
2014-09-18 12:47:53 +01:00
Olivier Berten (selapa.net)
ad4c4c4f0b
Missing argument in KernTable_format_2.toXML function
2014-09-17 22:01:40 +01:00
Behdad Esfahbod
46c1fa8809
Bump fontTools.version to 2.5
...
Followup to
2a60b441b0 (commitcomment-7532556)
2014-08-27 03:01:44 -04:00
Behdad Esfahbod
aeeb884b4c
[ttx] Always add raw=True attribute when dumping DefaultTable to XML
...
Needed to avoid surprises when we add new table implementations.
Recently we added VDMX table, and that broke build of projects using
VDMX with DefaultTable, eg:
https://github.com/behdad/fonttools/issues/151
2014-08-24 13:01:27 -04:00
Behdad Esfahbod
bfe99090ba
Fix reading XML for CBLC with external image files
2014-08-19 12:40:12 -04:00
Behdad Esfahbod
de9d1a6e47
[subset] Always remove 'glyf' Glyph padding
...
Before we were only doing this, partially, if --no-hinting was requested.
Always remove padding. More savings.
2014-08-15 14:34:28 -04:00
Behdad Esfahbod
b342a27430
Add glyf.Glyph.trim() that removes padding and if asked hinting
2014-08-15 14:34:03 -04:00
Behdad Esfahbod
30852ad3b3
[subset] Add --gids-file
2014-08-14 11:37:35 -04:00
Behdad Esfahbod
946528fa25
[subset] Remove special handling of gidNNN, uniXXXX
...
We now have --gids and --unicodes, so only accept glyph names
on cmdline. Cleans up a few things.
Sorry about the breakage in advance everyone. :)
2014-08-13 21:30:25 -04:00
Behdad Esfahbod
590c8777a6
[subset] Add --ignore-missing-glyphs and --no-ignore-missing-unicodes
...
Move glyph checking into the subsetter. Also fix --gids. Previous
patch's implementation was wrong as it was picking up glyphs from
sorted glyph-name list, NOT the glyph order!
Fixes https://github.com/behdad/fonttools/issues/34
2014-08-13 21:18:24 -04:00
Behdad Esfahbod
28270fd6fe
[subset] Add --gids that takes list of glyph ids or ranges
...
Fixes https://github.com/behdad/fonttools/issues/113
2014-08-13 20:16:30 -04:00
Behdad Esfahbod
70723291bf
[subset] Fix --unicodes doc
2014-08-13 20:02:08 -04:00