Changed: Do not restrict html font-family to inherit/monospace only.
--HG-- branch : develop
This commit is contained in:
parent
d8638fa42b
commit
0099eb3ba4
1 changed files with 1 additions and 4 deletions
|
@ -6301,10 +6301,7 @@ namespace NLGUI
|
||||||
if (it->second == "inherit")
|
if (it->second == "inherit")
|
||||||
style.FontFamily = current.FontFamily;
|
style.FontFamily = current.FontFamily;
|
||||||
else
|
else
|
||||||
if (it->second == "monospace")
|
style.FontFamily = it->second;
|
||||||
style.FontFamily = "monospace";
|
|
||||||
else
|
|
||||||
style.FontFamily.clear();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (it->first == "font-weight")
|
if (it->first == "font-weight")
|
||||||
|
|
Loading…
Reference in a new issue