API reference / Common / UrlFont
Interface: UrlFont
One font the host offers by URL: which font it is, where to fetch it, and optionally what it covers.
A URL font may declare its scripts directly — it is a vendor that already speaks the internal vocabulary, so it needs no dialect translated. None means unconstrained and is the right default: a host that does not know what its font covers should not be made to guess, since guessing narrow is the one error that loses a font permanently.
Properties
| Property | Description |
|---|---|
descriptorFontDescriptor | The font this URL serves. |
urlstring | Where the host fetches its bytes from. Nothing here fetches it. |
scripts?string[] | null | The scripts it covers, as a prefilter. None is unconstrained. |