![](https://secure.gravatar.com/avatar/58cce501a997822a0cb6051496d1b0c8.jpg?s=120&d=mm&r=g)
Hi Hartmut and Martin, please wait, I will take a closer look at the problem. It looks that Hartmut's patch can be improved. Regards, Thanh On Thu, Nov 25, 2004 at 02:25:06AM +0100, Hartmut Henkel wrote:
Hi Thanh,
when a PDF file with embedded fonts is included by \pdfximage, fonts will be replaced through lookup_ps_name() heuristics. However it's actually not checked there whether the font file itself is available. Problem example:
Some PDF file comes with a Palatino-Roman. TFM entry pplr8r is listed in the mapfile together with fontfile
But if the fontfile is not available, the replacement of embedded fonts in PDF files shouldn't be done at all; instead the font coming with the PDF file should be used as is. Below is a quick patch. Only roughly checked.
Regards, Hartmut