aboutsummaryrefslogtreecommitdiffstats
path: root/fbtruetype
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-07-17 04:58:42 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-07-17 04:58:42 +0000
commiteeab40ff7e62d74841df53dc8b593af238b2b77b (patch)
tree49955598aa126461a296c9a3ff4501741153e8a8 /fbtruetype
parent38d86a8a668ee82e6e898ea2046f3027dd990216 (diff)
downloadbootsplash-eeab40ff7e62d74841df53dc8b593af238b2b77b.tar
bootsplash-eeab40ff7e62d74841df53dc8b593af238b2b77b.tar.gz
bootsplash-eeab40ff7e62d74841df53dc8b593af238b2b77b.tar.bz2
bootsplash-eeab40ff7e62d74841df53dc8b593af238b2b77b.tar.xz
bootsplash-eeab40ff7e62d74841df53dc8b593af238b2b77b.zip
make fbtruetype use UTF-8 to handle text
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);