mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user