Skip to content

Implement CoreText font provider #7

@afishhh

Description

@afishhh

Apparently this function is the way to go for fallback. Not sure how CoreText font references work and if this would require us somehow passing the main FontInfo or something to the fallback provider again.
This API seems to provide a list of fonts that should be tried for a given original font and for the provided languages (Han unification and similar). Seems pretty straight forward, although I'm not going to be implementing this myself anytime soon due to the severe lack of Apple operating systems in my life. I am likely to change the font provider API soon for CSS spec compliance so it's better to hold off on this until that's done.

Not sure how to actually query fonts by name and get a ttf out of CoreText, but there has to be a way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions