Font (possible) fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-10-22 12:10:34 +00:00
parent 09f1410821
commit a4f4d548ce

View File

@@ -1565,7 +1565,9 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y )
XSetFont( (Display*) m_display, (GC) m_textGC, xfont->fid );
#if !wxUSE_NANOX
if ((xfont->min_byte1 == 0) && (xfont->max_byte1 == 0))
// This may be a test for whether the font is 16-bit, but it also
// seems to fail for valid 8-bit fonts too.
if (1) // (xfont->min_byte1 == 0) && (xfont->max_byte1 == 0))
#endif
{
XDrawString( (Display*) m_display, (Window) m_window,