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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp
index c2b9aad7..1b4553b6 100644
--- a/src/kernel/qpsprinter.cpp
+++ b/src/kernel/qpsprinter.cpp
@@ -214,7 +214,7 @@ static const char *const ps_header =
// the list contains glyphs in the private use area of unicode. These should get removed when regenerating the glyphlist.
// also 0 shout be mapped to .notdef
static const struct {
- Q_UINT16 u;
+ TQ_UINT16 u;
const char * g;
} unicodetoglyph[] = {
// grep '^[0-9A-F][0-9A-F][0-9A-F][0-9A-F];' < /tmp/glyphlist.txt | sed -e 's/;/, "/' -e 's-;-" }, // -' -e 's/^/ { 0x/' | sort
@@ -2077,17 +2077,17 @@ void TQPSPrinterFontPrivate::downloadMapping( TQTextStream &s, bool global )
// ================== TTF ====================
-typedef Q_UINT8 BYTE;
-typedef Q_UINT16 USHORT;
-typedef Q_UINT16 uFWord;
-typedef Q_INT16 SHORT;
-typedef Q_INT16 FWord;
-typedef Q_UINT32 ULONG;
-typedef Q_INT32 FIXED;
+typedef TQ_UINT8 BYTE;
+typedef TQ_UINT16 USHORT;
+typedef TQ_UINT16 uFWord;
+typedef TQ_INT16 SHORT;
+typedef TQ_INT16 FWord;
+typedef TQ_UINT32 ULONG;
+typedef TQ_INT32 FIXED;
typedef struct {
- Q_INT16 whole;
- Q_UINT16 fraction;
+ TQ_INT16 whole;
+ TQ_UINT16 fraction;
} Fixed; // 16.16 bit fixed-point number
static float f2dot14( ushort s )