[pdftex] MPS code that drives gv/acroread crazy
Hans Hagen
pragma at wxs.nl
Sat Aug 24 19:15:47 CEST 2002
At 03:55 PM 8/24/2002 +0100, Marco Kuhlmann wrote:
/xdvi$run where {pop errordict begin /undefined {} bind def end} if
>/fmp1 /fmp1 def /fmp8 /fmp8 def /fmp24 /fmp24 def
>/bitline1 {gsave pop dup scale dup length 8 mul 1 true currentpoint translate
> [66.66666 0 0 66.66666 0 0] 4 index imagemask pop grestore} bind def
>/bitline8 {gsave pop dup scale dup length 1 8 currentpoint translate
> [2.8 0 0 2.8 0 0] 4 index image pop grestore} bind def
>/bitline24 {gsave pop dup scale dup length 3 idiv 1 8 currentpoint translate
> [2.777777 0 0 2.777777 0 0] 4 index false 3 colorimage pop grestore}
> bind def
>/XDVIfshow {findfont exch scalefont setfont show} bind def
>/DVIPSfshow {exch gsave 72 TeXDict /Resolution get div -72 TeXDict
> /VResolution get div scale 1 DVImag div dup scale get cvx exec
> show grestore} bind def
>/fshowText
> {/xdvi$run where {pop XDVIfshow} {DVIPSfshow} ifelse} def
>/fshow { exch dup
> /fmp1 eq {bitline1}
> {dup /fmp8 eq {bitline8}
> {dup /fmp24 eq {bitline24}
> {fshowText}
> ifelse} ifelse} ifelse} def
what happens if you just delete this code ?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma at wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
More information about the pdftex
mailing list