mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +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:
parent
688675e89b
commit
5abc03db0d
17 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue