Fonts: Rename font files consistently

Font files are now all named like this:

    <Family><Weight><Size>.font

This will make it much easier/sane to perform font lookup.
This commit is contained in:
Andreas Kling
2020-10-24 16:27:44 +02:00
parent 688675e89b
commit 5abc03db0d
17 changed files with 4 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ void StyleProperties::load_font() const
if (font_weight == "lighter")
weight = "Thin";
else if (font_weight == "normal")
weight = "";
weight = "Regular";
else if (font_weight == "bold")
weight = "Bold";
else {