Skip to content

Support custom character to glyph mapping #4

@jminer

Description

@jminer

I'm not sure I care enough to support custom character to glyph mapping, but it should be possible to do cross-platform. However, Core Text is really different than DirectWrite.

With DirectWrite, it's possible to modify the glyph array that GetGlyphs() returns before passing it to GetGlyphPlacements().

For Core Text, you can create a CTGlyphInfo object and store it in a attributed string using kCTGlyphInfoAttributeName, as this answer says:

https://stackoverflow.com/questions/20327980/getting-glyph-names-using-core-text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions