summaryrefslogtreecommitdiffstats
path: root/kdeprint/testprint.ps
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/testprint.ps
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/testprint.ps')
-rw-r--r--kdeprint/testprint.ps14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/testprint.ps b/kdeprint/testprint.ps
index bcebfcb21..1a9167ba7 100644
--- a/kdeprint/testprint.ps
+++ b/kdeprint/testprint.ps
@@ -110,13 +110,13 @@
/CUPSLOGO { % Draw the CUPS logo
% height CUPSLOGO
% Start with a big C...
- /Helvetica findfont 1 index scalefont setfont
+ /Helvetica tqfindfont 1 index scalefont setfont
0 setgray
0 0 moveto
(C) show
% Then "UNIX Printing System" much smaller...
- /Helvetica-Bold findfont 1 index 9 div scalefont setfont
+ /Helvetica-Bold tqfindfont 1 index 9 div scalefont setfont
0.25 mul
dup dup 2.0 mul moveto
(UNIX) show
@@ -186,14 +186,14 @@
0 setgray rectstroke
- /Helvetica-BoldOblique findfont 1 index 3 div scalefont setfont
+ /Helvetica-BoldOblique tqfindfont 1 index 3 div scalefont setfont
dup 40 div
dup 4 mul 1 index 25 mul moveto (E) show
dup 10 mul 1 index 15 mul moveto (S) show
dup 16 mul 1 index 5 mul moveto (P) show
- /Helvetica-BoldOblique findfont 2 index 5 div scalefont setfont
+ /Helvetica-BoldOblique tqfindfont 2 index 5 div scalefont setfont
dup 14 mul 1 index 29 mul moveto (asy) show
dup 20 mul 1 index 19 mul moveto (oftware) show
dup 26 mul 1 index 9 mul moveto (roducts) show
@@ -231,13 +231,13 @@ gsave
ifelse def
% Create fonts...
- /bigFont /Helvetica-Bold findfont % bigFont = Helvetica-Bold
+ /bigFont /Helvetica-Bold tqfindfont % bigFont = Helvetica-Bold
pageHeight 3 mul scalefont def % size = pageHeight * 3 (nominally 33)
- /mediumFont /Helvetica findfont % mediumFont = Helvetica
+ /mediumFont /Helvetica tqfindfont % mediumFont = Helvetica
pageHeight 1.5 mul scalefont def % size = pageHeight * 1.5 (nominally 16.5)
- /smallFont /Times-Roman findfont % smallFont = Times-Roman
+ /smallFont /Times-Roman tqfindfont % smallFont = Times-Roman
pageHeight scalefont def % size = pageHeight (nominally 11)
% Offset page to account for lower-left margin...