From f19271867fa5d82d5e2f095c88a8c828f4e7bd5f Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Sun, 14 Apr 2024 20:47:17 +0200 Subject: [PATCH] fixed typo --- src/pixie/fontformats/opentype.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixie/fontformats/opentype.nim b/src/pixie/fontformats/opentype.nim index 4b224ee..14704bf 100644 --- a/src/pixie/fontformats/opentype.nim +++ b/src/pixie/fontformats/opentype.nim @@ -549,7 +549,7 @@ proc parseCmapTable(buf: string, offset: int): CmapTable = for c in startCharCode .. endCharCode: let glyphId = startGlyphId + (c - startCharCode) if glyphId > uint16.high: - # TODO: currently onld 16 bit glyph ids are supported + # TODO: currently only 16 bit glyph ids are supported raise newException(PixieError, "Found glyph outside of uint16 range: " & $glyphId) result.runeToGlyphId[Rune(c)] = uint16(glyphId)