[pdftex] Bug in 1.10a: \pdfximage with pdf file and width

Heiko Oberdiek oberdiek at uni-freiburg.de
Sat Feb 8 19:03:46 CET 2003


On Sat, Feb 08, 2003 at 04:37:38AM +0100, Heiko Oberdiek wrote:

> pdf files are not correctly embedded, they are not scaled,
> if width is given explicitly in opposite to former behaviour
> and other file types.
> 
> Example scenario:
> 
> %%% cut %%% image.tex %%% cut %%%
> \NeedsTeXFormat{LaTeX2e}
> \def\papertype{a4paper}
> \def\doublesided{n}
> \def\typein[#1]#2{}
> \input{testpage}
> %%% cut %%% image.tex %%% cut %%%
> 
> %%% cut %%% test.tex %%% cut %%%
> \nopagenumbers
> \def\test#1{%
>   \pdfximage width\hsize{image.#1}%
>   \noindent
>   \pdfrefximage\pdflastximage
> }
> \test{png}
> \filbreak
> \test{pdf}
> \bye
> %%% cut %%% test.tex %%% cut %%%
> 
> $ pdflatex image
> $ gs -dBATCH -dNOPAUSE -sDEVICE=pngmono -sPAPERSIZE=a4 \
>   -sOutputFile=image.png image.pdf
> $ pdftex test

The scenario is not complete, the bug is triggered, if "pk_resolution"
is missing in the configuration file "pdftex.cfg".

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list