diff options
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r-- | src/svg/qsvghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index 62fe3d3..15fb46b 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -1369,9 +1369,9 @@ static void parseFont(QSvgNode *node, fontStyle->setWeight(weightNum); } else { if (attributes.fontWeight == QLatin1String("normal")) { - fontStyle->setWeight(400); + fontStyle->setWeight(QFont::Normal); } else if (attributes.fontWeight == QLatin1String("bold")) { - fontStyle->setWeight(700); + fontStyle->setWeight(QFont::Bold); } else if (attributes.fontWeight == QLatin1String("bolder")) { fontStyle->setWeight(QSvgFontStyle::BOLDER); } else if (attributes.fontWeight == QLatin1String("lighter")) { |