mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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
Notes:
sideshowbarker
2024-07-19 01:45:55 +09:00
Author: https://github.com/awesomekling
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