Duolith docs

Errors E0400 to E0499

E0458 Font family the file does not name

Message path calls its family names, not "family": iOS would never find it by that name

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

iOS registers a font file and finds it by the family names inside it (its name table), never by the name a style gives it. A @font-face whose font-family is not one of those names would draw in the system font on iOS while Android, which registers each file under the declared name, drew the font. The build reads the file's family (name 1), typographic family (16) and WWS family (21) and stops unless the block names one of them, ignoring case (decision 0049, amended).

How to fix it

Write the name the file gives in font-family, and ask for that name in your styles and the theme's font.family.

In a terminal

duolith explain E0458

Mentioned in