-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
diagnosticsImprovements to compiler errorsImprovements to compiler errorsfeature requestNew feature or requestNew feature or requesttextRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.
Description
Description
When setting the font say globally, with #set text(font: "abcdefg"), if the font is not found (say because it doesn't exist), the output of typst compile doesn't change and the compiler doesn't throw any errors. An error should also be thrown if the appropriate weight/size/etc. cannot be used.
Use Case
This follows the Principle of Least Surprise: if you manually set the font and the output doesn't change, that's strange. The compiler should throw an error (or at the very least, a warning).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
diagnosticsImprovements to compiler errorsImprovements to compiler errorsfeature requestNew feature or requestNew feature or requesttextRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.