ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* unwanted font replacement during inclussion
@ 2005-06-01 21:35 Vit Zyka
  0 siblings, 0 replies; 2+ messages in thread
From: Vit Zyka @ 2005-06-01 21:35 UTC (permalink / raw)
  Cc: pdfTeX developers list

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

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 --
--



[-- Attachment #2: load-context.pdf --]
[-- Type: application/pdf, Size: 28278 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 2+ messages in thread

* unwanted font replacement during inclussion
@ 2005-06-01 21:36 Vit Zyka
  0 siblings, 0 replies; 2+ messages in thread
From: Vit Zyka @ 2005-06-01 21:36 UTC (permalink / raw)
  Cc: pdfTeX developers list

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

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 --
--



[-- Attachment #2: load-context.pdf --]
[-- Type: application/pdf, Size: 28278 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-01 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-01 21:35 unwanted font replacement during inclussion Vit Zyka
2005-06-01 21:36 Vit Zyka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).