From 84a9b3f89eb488cc218bda12da3176f2d6fd3ac3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 9 Apr 2006 20:42:40 +0000 Subject: [PATCH] ISO8859-1 is also supported by GTK+ 2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/fontutil.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index b1eda856d4..ea483ebed5 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -333,8 +333,10 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding, info->encoding = wxFONTENCODING_SYSTEM; return true; + case wxFONTENCODING_ISO8859_1: case wxFONTENCODING_UTF8: - info->encoding = wxFONTENCODING_UTF8; + // these are always supported by GTK+ 2 + info->encoding = encoding; return true; default: -- 2.45.2