aboutsummaryrefslogtreecommitdiffstats
path: root/fbtruetype
diff options
context:
space:
mode:
Diffstat (limited to 'fbtruetype')
-rw-r--r--fbtruetype/ttf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbtruetype/ttf.c b/fbtruetype/ttf.c
index 11bd9a9..4e16f17 100644
--- a/fbtruetype/ttf.c
+++ b/fbtruetype/ttf.c
@@ -795,7 +795,7 @@ int rendertext(char *text, char *fontname, unsigned int ptsize,
}
renderstyle = TTF_STYLE_NORMAL;
- rendertype = RENDER_LATIN1;
+ rendertype = RENDER_UTF8;
TTF_SetFontStyle(font, renderstyle);
text = TTF_RenderText_Shaded(font, text, forecol, 0);