From 5844fc07752fa6368b594f213666fce4abb03456 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 22 Aug 2005 21:58:32 +0000 Subject: [PATCH] [wxX11] a ROMAN font is with serifs and a SWISS font is without. Set the font to "serif" if it's wxFONTFAMILY_ROMAN not wxFONTFAMILY_SWISS. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 783a009b74..125cb3545e 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -202,7 +202,7 @@ void wxFontRefData::Init(int pointSize, case wxFONTFAMILY_TELETYPE: pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); break; - case wxFONTFAMILY_SWISS: + case wxFONTFAMILY_ROMAN: pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); break; default: -- 2.45.2