mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Made SVG parser cope with quoted font names
This commit is contained in:
parent
84a4dc0faa
commit
4397cc3701
1 changed files with 1 additions and 1 deletions
|
|
@ -1007,7 +1007,7 @@ private:
|
|||
if (getStyleAttribute (xml, "font-weight").containsIgnoreCase ("bold"))
|
||||
style |= Font::bold;
|
||||
|
||||
auto family = getStyleAttribute (xml, "font-family");
|
||||
auto family = getStyleAttribute (xml, "font-family").unquoted();
|
||||
|
||||
return family.isEmpty() ? Font (fontSize, style)
|
||||
: Font (family, fontSize, style);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue