From c553ff640bde394fcaed5a5701d11700a92d2b05 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 4 Jan 2022 14:26:24 +0100 Subject: [PATCH] Mark parseGlyfGlyph prototype as gcsafe --- 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 c4e0107..cb9f025 100644 --- a/src/pixie/fontformats/opentype.nim +++ b/src/pixie/fontformats/opentype.nim @@ -2126,7 +2126,7 @@ proc getGlyphId(opentype: OpenType, rune: Rune): uint16 = proc hasGlyph*(opentype: OpenType, rune: Rune): bool = rune in opentype.cmap.runeToGlyphId -proc parseGlyfGlyph(opentype: OpenType, glyphId: uint16): Path {.raises: [PixieError].} +proc parseGlyfGlyph(opentype: OpenType, glyphId: uint16): Path {.raises: [PixieError], gcsafe.} proc parseGlyphPath( buf: string, offset, numberOfContours: int