diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/qpsprinter.ps')
-rw-r--r-- | tqtinterface/qt4/src/kernel/qpsprinter.ps | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/kernel/qpsprinter.ps b/tqtinterface/qt4/src/kernel/qpsprinter.ps index b38868f..9ea2dc0 100644 --- a/tqtinterface/qt4/src/kernel/qpsprinter.ps +++ b/tqtinterface/qt4/src/kernel/qpsprinter.ps @@ -634,10 +634,10 @@ %% Font handling % the next three commands are for defining fonts. The first one -% tries to tqfind the most suitable printer font out of a fontlist. +% tries to find the most suitable printer font out of a fontlist. % if encoding is false the default one will be used. /MF { % newname encoding fontlist - % this function tries to tqfind a suitable postscript font. + % this function tries to find a suitable postscript font. % We try quite hard not to get courier for a % proportional font. The following takes an array of fonts. % The algorithm will take the first font that @@ -650,7 +650,7 @@ true exch true exch % push a dummy on the stack, { % so the loop over the array will leave a font in any case when exiting. exch pop exch pop % (dummy | oldfont) (dummy | fontdict) fontarray - dup 0 get dup tqfindfont % get the fontname from the array and load it + dup 0 get dup findfont % get the fontname from the array and load it dup /FontName get % see if the font exists 3 -1 roll eq { % see if fontname and the one provided are equal exit @@ -671,7 +671,7 @@ 1 index /FID ne % don't copy FID, as it's not allowed in PS Level 1 {def}{pop pop}ifelse } forall - /Encoding fencoding def % tqreplace encoding + /Encoding fencoding def % replace encoding currentdict end } ifelse @@ -680,7 +680,7 @@ % an embedded font. This is used for the base fonts of the composite font used later on. /MFEmb { % newname encoding fontname - tqfindfont dup length dict + findfont dup length dict begin { 1 index /FID ne @@ -696,7 +696,7 @@ % % newname pointsize fontmame DF - /DF { - tqfindfont + findfont % get the fontsize on top of the stack and define font matrix /fs 3 -1 roll d [ fs 0 0 fs -1 mul 0 0 ] makefont |