diff --git a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp index 6b604ebe48..3f71281009 100644 --- a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp +++ b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp @@ -1126,7 +1126,7 @@ private: if (getStyleAttribute (xml, "font-weight").containsIgnoreCase ("bold")) f.setBold (true); - return f.withPointHeight (getCoordLength (getStyleAttribute (xml, "font-size"), 1.0f)); + return f.withPointHeight (getCoordLength (getStyleAttribute (xml, "font-size", "15"), 1.0f)); } //==============================================================================