summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpsprinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpsprinter.cpp')
-rw-r--r--src/kernel/qpsprinter.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp
index 22acd9832..943cefff4 100644
--- a/src/kernel/qpsprinter.cpp
+++ b/src/kernel/qpsprinter.cpp
@@ -95,7 +95,7 @@
#endif
#endif
-#if defined( TQ_WS_X11 ) || defined (TQ_WS_QWS)
+#if defined( TQ_WS_X11 )
#include "qfontdata_p.h"
#include "qfontengine_p.h"
#include "tqtextlayout_p.h"
@@ -2439,9 +2439,6 @@ void TQPSPrinterFontTTF::drawText( TQTextStream &stream, const TQPoint &p, TQTex
// This helps us get arabic for XLFD fonts working. In that case we have a Unicode
// cmap (== 0), and the glyphs array contains the shaped string.
bool useGlyphAsUnicode = (type == TQFontEngine::XLFD && si.fontEngine->cmap() == 0);
-#else // TQ_WS_QWS
- const bool glyphIndices = FALSE;
- const bool useGlyphAsUnicode = TRUE;
#endif
stream << "<";
if ( si.analysis.bidiLevel % 2 ) {
@@ -4916,7 +4913,6 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
enum { NONE, PFB, PFA, TTF } type = NONE;
TQFontEngine *engine = f.d->engineForScript( (TQFont::Script) script );
- // ### implement similar code for TQWS and WIN
xfontname = makePSFontName( engine );
#if defined( TQ_WS_X11 )
@@ -6165,11 +6161,7 @@ void TQPSPrinterPrivate::flushPage( bool last )
if ( buffer &&
// ( last || pagesInBuffer++ > -1 ||
// ( pagesInBuffer > 4 && buffer->size() > 262144 ) ) )
-#ifdef TQ_WS_QWS
- (last || buffer->size() > 2000000) // embedded is usually limited in memory
-#else
(last || buffer->size() > 50000000)
-#endif
) {
// tqDebug("emiting header at page %d", pageCount );
emitHeader( last );