[Therion] Size of pdf error when final pdf size should be OK
Martin Budaj
m.budaj at gmail.com
Tue Jul 20 18:07:24 CEST 2010
On Thu, Jul 15, 2010 at 11:13 PM, Bruce <dangle at tomo.co.nz> wrote:
> Of course I look forward to your theoretical solution in due course
Hi Bruce,
could you try whether inserting following lines in the layout used for
creating the map fixes the problem?
Martin
code tex-map
\def\bitmapcorr#1#2#3#4#5#6#7{%
\xcorr=0bp\advance\xcorr by\extraW\advance\xcorr by\overlap
\ycorr=0bp\advance\ycorr by\extraS\advance\ycorr by\overlap
\dimtobp{\xcorr}\edef\wdth{\tmpdef}%
\dimtobp{\ycorr}\edef\hght{\tmpdef}%
\pdfliteral{q 1 0 0 1 \wdth\space\hght\space cm #1 #2 #3 #4 #5 #6
cm}% two-step transformation to avoid overflow
\rlap{\pdfrefximage#7}%
\pdfliteral{Q}%
}
More information about the Therion
mailing list