Mark parseGlyfGlyph prototype as gcsafe

This commit is contained in:
Emery Hemingway 2022-01-04 14:26:24 +01:00
parent f413ee733d
commit c553ff640b

View file

@ -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