whoops, compile was broken due to Fixed 'fix'
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@238 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
0ecc433736
commit
7007a08545
@ -87,6 +87,8 @@ class Fixed(IntValue):
|
||||
return float(reader.readLong()) / 0x10000
|
||||
def write(self, writer, font, tableStack, value):
|
||||
writer.writeLong(int(round(value * 0x10000)))
|
||||
def xmlRead(self, attrs, content, font):
|
||||
return float(attrs["value"])
|
||||
|
||||
class Short(IntValue):
|
||||
def read(self, reader, font, tableStack):
|
||||
|
Loading…
x
Reference in New Issue
Block a user