fix RGB color, more color presets, fix font size, fix mono font

This commit is contained in:
Face
2025-08-02 19:45:46 +03:00
parent e575974721
commit 233afbfe1a
4 changed files with 292 additions and 34 deletions

View File

@@ -73,7 +73,7 @@ static func get_font(family_name: String) -> Font:
return sys_font
elif family_name == "monospace":
var sys_font = SystemFont.new()
sys_font.font_names = ["monospace"]
sys_font.font_names = ["Consolas", "monospace"]
return sys_font
elif loaded_fonts.has(family_name):
return loaded_fonts[family_name]