Skip to content
Merged

5.0.3 #516

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Pixie - A full-featured 2D graphics library for Nim

Pixie is a 2D graphics library similar to [Cairo](https://www.cairographics.org/) and [Skia](https://skia.org) written (almost) entirely in Nim.
Pixie is a 2D graphics library similar to [Cairo](https://www.cairographics.org/) and [Skia](https://skia.org) written entirely in Nim.

This library is being actively developed and we'd be happy for you to use it.

Expand Down
2 changes: 1 addition & 1 deletion pixie.nimble
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/pixie/fontformats/opentype.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down