Merge pull request #358 from ehmry/gcsafe
Mark parseGlyfGlyph prototype as gcsafe
This commit is contained in:
commit
8e64260b70
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue