-
For fonts that support it, is there any way to, say, pass Apologies if this is out of place on this repo, but I'm really lost as to how to support this sort of thing. I've looked all over the place, and can't seem to find any information on the topic that's comprehensive, or having a clear application to this library (like harfbuzz). This issue in msdfgen briefly mentions ligatures, but again it remains unclear to me after much searching how to use this for ligature rendering. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To use ligatures and other glyphs that don't directly map to Unicode characters, you need to use a glyph set instead of a charset. That is, either using the |
Beta Was this translation helpful? Give feedback.
To use ligatures and other glyphs that don't directly map to Unicode characters, you need to use a glyph set instead of a charset. That is, either using the
-glyphset
argument, or theFontGeometry::loadGlyphset
function. You would use a library such as Harfbuzz to get the appropriate glyph indices.