Skip to content

Commit 452e525

Browse files
committed
5.0.3
1 parent a911e9d commit 452e525

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pixie.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "5.0.2"
1+
version = "5.0.3"
22
author = "Andre von Houck and Ryan Oldenburg"
33
description = "Full-featured 2d graphics library for Nim."
44
license = "MIT"

src/pixie/fontformats/opentype.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ proc parseOpenTypeCollection*(buf: string): seq[OpenType] {.raises: [PixieError]
25632563
minorVersion = buf.readUint16(i + 6).swap()
25642564
numFonts = buf.readUint32(i + 8).swap()
25652565

2566-
if majorVersion notin {1, 2} and minorVersion != 0:
2566+
if majorVersion notin {1'u16, 2} and minorVersion != 0:
25672567
failUnsupported("ttc version")
25682568

25692569
var tableDirectoryOffsets: seq[uint32]

0 commit comments

Comments
 (0)