Just van Rossum
5fc65d7168
Misc py23 cleanups ( #2243 )
...
* Replaced all from ...py23 import * with explicit name imports, or removed completely when possible.
* Replaced tounicode() with tostr()
* Changed all BytesIO ans StringIO imports to from io import ..., replaced all UnicodeIO with StringIO.
* Replaced all unichr() with chr()
* Misc minor tweaks and fixes
2021-03-29 11:45:58 +02:00
Nikolaus Waxweiler
01328213c7
Remove __future__ imports
2019-08-09 12:20:13 +01:00
Cosimo Lupo
bc0480e19e
[sbix] fix TypeError when += str and bytes
...
Fixes #1145
There's probably more... we'll see once we have some data from chromacheck fonts to proper test this with
2018-01-11 20:15:58 +00:00
Miguel Sousa
a7aef47695
fix "indentation contains mixed spaces and tabs" errors reported by Landscape
2015-08-09 00:33:50 -07:00
Behdad Esfahbod
bd67253118
Some more whitespace fixes from pep8 tool
2015-04-26 01:59:01 -04:00
Behdad Esfahbod
5287b52d22
Whitespace
2015-04-26 00:49:36 -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
55d1d367c4
Use safeEval for attributes
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
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
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
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
fe4a723322
Try again
2014-09-19 18:19:28 +02:00
Jens Kutilek
3b42e16cb2
Rename import in sbixStrike.py
2014-09-19 16:22:02 +02:00
Jens Kutilek
484fe4d11d
Rename sbixBitmapSet to sbixStrike
2014-09-19 16:16:17 +02:00