summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont_ft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qrawfont_ft.cpp')
-rw-r--r--src/gui/text/qrawfont_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont_ft.cpp b/src/gui/text/qrawfont_ft.cpp
index b54a7a3ac3..959fb44606 100644
--- a/src/gui/text/qrawfont_ft.cpp
+++ b/src/gui/text/qrawfont_ft.cpp
@@ -63,7 +63,7 @@ public:
void updateFamilyNameAndStyle()
{
- fontDef.family = QString::fromAscii(freetype->face->family_name);
+ fontDef.family = QString::fromUtf8(freetype->face->family_name);
if (freetype->face->style_flags & FT_STYLE_FLAG_ITALIC)
fontDef.style = QFont::StyleItalic;