This commit is contained in:
Ryan Oldenburg 2022-12-17 09:52:50 -06:00
parent a911e9d498
commit 452e525814
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
version = "5.0.2"
version = "5.0.3"
author = "Andre von Houck and Ryan Oldenburg"
description = "Full-featured 2d graphics library for Nim."
license = "MIT"

View file

@ -2563,7 +2563,7 @@ proc parseOpenTypeCollection*(buf: string): seq[OpenType] {.raises: [PixieError]
minorVersion = buf.readUint16(i + 6).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")
var tableDirectoryOffsets: seq[uint32]