diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | 03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch) | |
tree | caabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps | |
parent | 0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff) | |
download | tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps')
-rw-r--r-- | experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps b/experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps index b38868ff6..9ea2dc093 100644 --- a/experimental/tqtinterface/qt4/src/kernel/qpsprinter.ps +++ b/experimental/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 |