[NTG-pdftex] unwanted font replacement during inclussion

The Thanh Han hanthethanh at myrealbox.com
Thu Jun 2 06:52:55 CEST 2005


I cannot reproduce the problem here. Can you run a few unix
commands on your system? If so I will send you a script to
pack all files needed in a single run so I can test it.

Thanh

On Wed, Jun 01, 2005 at 11:36:57PM +0200, Vit Zyka wrote:
> Hi,
> 
> I noticed the next strange behaviour. Let us create very simple file 
> test.tex:
> ------------------
> \font\bf=cmbx12
> Normal text. \bf Bold text.
> \end
> ------------------
> Now include this file by plain pdftex:
> ------------------
> \pdfximage{test.pdf}
> \pdfrefximage\pdflastximage
> \end
> ------------------
> Everything is correct. No let us try to insert the file by context:
> ------------------
> \starttext
> %\font\bf=cmbx12
> %Normal text. \bf Bold text.
> \pdfximage{test.pdf}
> \pdfrefximage\pdflastximage
> \stoptext
> ------------------
> And that is!!! Text 'bold text' is typeset with totaly different font 
> from cmbx12, so it is smashed by wrong metric! See the attached file.
> If I uncomment two lines, so the font cmbx12 is not only present in the 
> included file, the result is correct. Where is the problem? Something 
> mixing cm and lm? I though that included file comes with all font resources.
> 
> Hmmmm, now I feel it is more pdftex-related then context-related question.
> 
> vit
> 
> (pdfetex v1.30)
> 
> -- 
> Vít Zýka --- http://typokvitek.com
>     Automatic document typesetting
>     Automaticka sazba dokumentu --
> --
> 
> 


> _______________________________________________
> ntg-pdftex mailing list
> ntg-pdftex at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-pdftex



More information about the ntg-pdftex mailing list