I’m encountering an issue with font family detection when using fonts from LaTeX distributions (specifically, lmroman9-regular.otf and lmroman10-regular.otf).
The Problem:
Typst is identifying these two fonts as belonging to two distinct font families:
-
lmroman9-regular.otf→ Family: “Latin Modern Roman 9” -
lmroman10-regular.otf→ Family: “Latin Modern Roman”
What I’ve Checked:
-
I used
fc-queryto inspect both font files. -
The output from
fc-queryshows almost identical metadata, with the primary difference being the version number (9 vs 10) in the filename and some internal fields. I couldn’t find any obvious field that would explain why Typst assigns different family names.
Is this intended behavior in Typst’s font parsing logic? Perhaps Typst is sensitive to a specific metadata field that I am overlooking.
I’m currently writing in 10 pt but I can’t seem to select the 10pt font.
I can use the 9 pt font instead, but that makes me a little upset.

