Browse Source

Made SVG parser cope with quoted font names

tags/2021-05-28
jules 8 years ago
parent
commit
4397cc3701
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/drawables/juce_SVGParser.cpp

+ 1
- 1
modules/juce_gui_basics/drawables/juce_SVGParser.cpp View File

@@ -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…
Cancel
Save