I am using the local version of typst on Fedora. I have this:
#set text(
font: "Noto Sans",
size: 11pt,
)
And I get this warning:
warning: variable fonts are not currently supported and may render incorrectly
┌─ resume.typ:4:8
│
4 │ font: "Noto Sans",
│ ^^^^^^^^^^^
│
= hint: try installing a static version of "noto sans" instead
But I don’t know how to do that. I tried specifying Noto Sans Regular instead, but that doesn’t work.
Well, most font designers set different names (e.g., Source Han Serif VF vs. Source Han Serif), but Google is an exception.
Two options:
Uninstall the variable version and install the static version.
Download the static version, and set --font-path or $TYPST_FONT_PATHS to Typst. If you need further details, please tell us your platform (VS Code + Tinymist?).