linebender / parley

Rich text layout library
Apache License 2.0
228 stars 28 forks source link

Fontique: Support registering a font with custom family name and `FontInfo` #117

Open nicoburns opened 2 months ago

nicoburns commented 2 months ago

The use case for this is supporting CSS web fonts (@font-face)

Requirements:

Non-requirements:


Ideally it should also be possible to register custom fonts in a separate "layer" to the system fonts such that:

(but perhaps this is a separate feature)