#include "wx/x11/private.h"
#endif
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
#include "wx/fontutil.h"
#include <pango/pangoft2.h>
#include <freetype/ftglyph.h>
{
wxCHECK_MSG( m_ok, FALSE, wxT("invalid postscript dc") );
- if ( m_printData.GetPrintMode() == wxPRINT_MODE_FILE )
+ if ( m_printData.GetPrintMode() != wxPRINT_MODE_STREAM )
{
if (m_printData.GetFilename() == wxT(""))
{