OTF fonts not working on wayland/arch? #11678
-
Issue DescriptionI used ghostty to see what fonts it supported and then I configured one that happened to be an OTF. It doesn't give an error but silently uses a different font. Expected BehaviorGhostty would either use the font I picked or log an error explaining what went wrong Actual BehaviorGhostty silently picked a fallback font Reproduction StepsI used ghostty +list-fonts to see what fonts it thought it could use. I picked "Maple Mono" from the list and put it in ghostty config as when I run ghostty from another terminal it doesn't give an error but uses a different font "Noto Sans Mono Bold" I tried this with a bunch of different listed fonts and about half of the fonts I tried didn't work. I looked into the various packages for the fonts and the pattern seems to be that the OTF fonts don't work Ghostty LogsAdditional Relevant ConfigurationNo response I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Could you try |
Beta Was this translation helpful? Give feedback.
-
|
I tried it. Same result. But I have experimented a bit more since my initial report and the OTF theory is not panning out. I have found some OTF fonts that work and some TTF fonts that don't. For example I have I also have |
Beta Was this translation helpful? Give feedback.
-
|
OK, not clear what was happening when I tried it without quotes before or why some fonts work when the quotes are there but now they all work when I leave out the quotes. Sorry for wasting people's time. |
Beta Was this translation helpful? Give feedback.
-
|
Oh, I did figure out why I put the quotes in to begin with. The example in https://ghostty.org/docs/config/reference has quotes |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing the solution. Font configuration issues can be confusing, especially when fallback fonts are used silently. I recently read a guide about handling system configuration and technical setups that explained similar troubleshooting steps. It might help others as well: https://infogtkkemendikdasmen.com/ |
Beta Was this translation helpful? Give feedback.
OK, not clear what was happening when I tried it without quotes before or why some fonts work when the quotes are there but now they all work when I leave out the quotes. Sorry for wasting people's time.