diff options
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index db20d64902f8..59c0d465f02b 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2334,7 +2334,7 @@ namespace svgio const SvgStringVector& SvgStyleAttributes::getFontFamily() const { - if(!maFontFamily.empty()) + if(!maFontFamily.empty() && !maFontFamily[0].startsWith("inherit")) { return maFontFamily; } |