Add interface fonts options#1407
Conversation
94973bb to
41a7070
Compare
It might look better to use a tailored set of system font names according to the platform, as per this proposal: This can be implemented in scripting by checking for the current OS and using the relevant font name. |
|
SF Pro wasn't available on my machine so I have to get it from https://developer.apple.com/fonts/ to test on macOS It seems to have problems with MSDF rendering so I only added Windows changes for now
|
|
I think exposing a MSDF toggle makes sense to fix fonts with self-intersecting outlines, but exposing oversampling is kind of a double-edged sword. Setting it too high will make small text look grainy (only zoomed-in graphs will benefit from oversampling). Fixing rendering of MSDF fonts with self-intersecting outlines requires godotengine/godot#61555. It works, but it adds a lot of binary size for niche functionality, so we'd prefer avoiding it if possible. |
3b56b76 to
7c00332
Compare
7c33452 to
578a62f
Compare
80a3354 to
58cc001
Compare
9222c0d to
3656734
Compare
b22780f to
50bcf94
Compare
db8400d to
d887181
Compare
d887181 to
ec7f763
Compare



Adds custom font/size options
.
If system fonts are enabled,
sans-serifwill be used be in place of the custom main/medium/bold fonts that are set in preferences.These settings could probably be applied without restarting, but I am getting a lot of
"fd" is nullerrors if I do that so this is what I have for now.