5.0.3
This commit is contained in:
parent
a911e9d498
commit
452e525814
|
@ -1,4 +1,4 @@
|
||||||
version = "5.0.2"
|
version = "5.0.3"
|
||||||
author = "Andre von Houck and Ryan Oldenburg"
|
author = "Andre von Houck and Ryan Oldenburg"
|
||||||
description = "Full-featured 2d graphics library for Nim."
|
description = "Full-featured 2d graphics library for Nim."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -2563,7 +2563,7 @@ proc parseOpenTypeCollection*(buf: string): seq[OpenType] {.raises: [PixieError]
|
||||||
minorVersion = buf.readUint16(i + 6).swap()
|
minorVersion = buf.readUint16(i + 6).swap()
|
||||||
numFonts = buf.readUint32(i + 8).swap()
|
numFonts = buf.readUint32(i + 8).swap()
|
||||||
|
|
||||||
if majorVersion notin {1, 2} and minorVersion != 0:
|
if majorVersion notin {1'u16, 2} and minorVersion != 0:
|
||||||
failUnsupported("ttc version")
|
failUnsupported("ttc version")
|
||||||
|
|
||||||
var tableDirectoryOffsets: seq[uint32]
|
var tableDirectoryOffsets: seq[uint32]
|
||||||
|
|
Loading…
Reference in a new issue