Skip to content

Commit 23afd99

Browse files
committed
Alias bolder/lighter font-weight to bold/normal
1 parent adc9444 commit 23afd99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/svglayoutstate.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ static FontWeight parseFontWeight(const std::string_view& input)
207207
static const SVGEnumerationEntry<FontWeight> entries[] = {
208208
{FontWeight::Normal, "normal"},
209209
{FontWeight::Bold, "bold"},
210+
{FontWeight::Bold, "bolder"},
211+
{FontWeight::Normal, "lighter"},
210212
{FontWeight::Normal, "100"},
211213
{FontWeight::Normal, "200"},
212214
{FontWeight::Normal, "300"},

0 commit comments

Comments
 (0)