[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
This commit is contained in:
@@ -202,7 +202,7 @@ void wxFontRefData::Init(int pointSize,
|
|||||||
case wxFONTFAMILY_TELETYPE:
|
case wxFONTFAMILY_TELETYPE:
|
||||||
pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
|
pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
|
||||||
break;
|
break;
|
||||||
case wxFONTFAMILY_SWISS:
|
case wxFONTFAMILY_ROMAN:
|
||||||
pango_font_description_set_family( m_nativeFontInfo.description, "serif" );
|
pango_font_description_set_family( m_nativeFontInfo.description, "serif" );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user