#include "wx/string.h"
#include "wx/utils.h"
+#include "wx/fontmap.h"
#include "wx/fontenum.h"
#include "wx/fontutil.h"
+#ifdef __VMS__ // Xlib.h for VMS is not (yet) compatible with C++
+ // The resulting warnings are switched off here
+#pragma message disable nosimpint
+#endif
#include <X11/Xlib.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
// ----------------------------------------------------------------------------
// private functions
wxNativeEncodingInfo info;
wxGetNativeFontEncoding(encoding, &info);
+ if ( !wxTestFontEncoding(info) )
+ {
+ // ask font mapper for a replacement
+ (void)wxTheFontMapper->GetAltForEncoding(encoding, &info);
+ }
+
wxString pattern;
pattern.Printf(wxT("-*-*-*-*-*-*-*-*-*-*-%c-*-%s-%s"),
spacing,