[texhax] Translate PS-special into PDF-special
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Fri Jun 28 21:11:13 CEST 2013
On 28.06.2013 11:02, Alex Scorpan wrote:
> PS: Is it indeed OK to drop the parameters 74/-74, -2 and 61 from the original PS?
>
>> \pdfliteral{%
>> q
>> 10 0 0 10 0 0 cm
>> BI
>> /IM true%
>> /W 76%
>> /H 75%
>> \special{%
>> " 0 0 moveto currentpoint translate
>> 10 10 scale 76 75 true
>> [74 0 0 -74 -2 61] {%
I forgot. There is some shifting:
\pdfliteral{%
q
% y-shift = 10 * (61/75 - 1) = -1.8667
% x-shift = 10 * (2/76) = 0.2632
10 0 0 10 .2632 -1.8667 cm
BI
Yours sincerely
Heiko Oberdiek
More information about the texhax
mailing list