How to Use Font Weights Without Specifying Separate Font Names?

I’m using the Typst CLI with Tinymist on VS Code.

For some fonts, simply specifying the font name allows automatic weight selection, enabling bold text conversion using **. However, for other fonts, the font names are set separately for each weight, making it impossible to use ** for bold text. Instead, it seems necessary to define separate commands for these cases.

I’d like to know why this difference occurs and how I can include multiple weights under a single font name.
CleanShot 2024-12-20 at 18.39.46
CleanShot 2024-12-20 at 18.39.02

I think it is the font itself’s problem. Could you describe how you installed the font? Or maybe you can try to upload the font file to typst.app, and see if the problem still exists?