We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a911e9d commit 452e525Copy full SHA for 452e525
2 files changed
pixie.nimble
@@ -1,4 +1,4 @@
1
-version = "5.0.2"
+version = "5.0.3"
2
author = "Andre von Houck and Ryan Oldenburg"
3
description = "Full-featured 2d graphics library for Nim."
4
license = "MIT"
src/pixie/fontformats/opentype.nim
@@ -2563,7 +2563,7 @@ proc parseOpenTypeCollection*(buf: string): seq[OpenType] {.raises: [PixieError]
2563
minorVersion = buf.readUint16(i + 6).swap()
2564
numFonts = buf.readUint32(i + 8).swap()
2565
2566
- if majorVersion notin {1, 2} and minorVersion != 0:
+ if majorVersion notin {1'u16, 2} and minorVersion != 0:
2567
failUnsupported("ttc version")
2568
2569
var tableDirectoryOffsets: seq[uint32]
0 commit comments