schriftgestalt
adfe7f293a
add some missing return values
2015-01-08 09:46:13 -08:00
Behdad Esfahbod
a0dfcb496e
Align instruction comments at tab stop
...
Makes them much more readable.
2015-01-05 17:49:38 -08:00
schriftgestalt
5d66d59a1f
Add comments with names of TrueType instruction to assembly
2015-01-05 17:45:09 -08:00
Olivier Berten (selapa.net)
ff84e2dadd
Regard very low datetimes as unix timestamps
2015-01-03 23:04:10 +01:00
Behdad Esfahbod
8a7a20c4b1
Fix indent
2015-01-02 13:14:26 -08:00
Behdad Esfahbod
b056318ca9
Ignore top four bytes of head table timestamps
...
Warn instead.
2015-01-02 13:08:57 -08:00
Behdad Esfahbod
15f2bb1e2f
Fixup previous commit
2015-01-02 13:02:36 -08:00
Behdad Esfahbod
f0200def0c
Refactor timestamp code into misc.timeTools
2015-01-02 12:53:16 -08:00
moyogo
2499ea3521
[TSI1] use tobytes()
2014-12-02 21:58:45 +00:00
moyogo
6021331a70
[TSI1] Use bytes literal
2014-12-02 21:45:21 +00:00
Behdad Esfahbod
3715f2d354
Unbreak Python3
...
Fixes https://github.com/behdad/fonttools/issues/197
2014-12-01 13:33:19 -08:00
Behdad Esfahbod
b1a8f7f8ec
Remove support for overwriting a table twice in SFNTWriter
...
Was slightly broken already. Remove it as there's no reason
to allow that.
2014-12-01 13:33:19 -08:00
moyogo
450faba7c3
Res is not available in Python 3
2014-11-21 17:07:55 +00: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
Jens Kutilek
5614845b03
Try again to put padding code for Glyph.graphicType in the right place
2014-09-30 15:16:52 -04: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
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
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
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
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
b342a27430
Add glyf.Glyph.trim() that removes padding and if asked hinting
2014-08-15 14:34:03 -04:00