ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Cc: pdfTeX developers list <ntg-pdftex@ntg.nl>
Subject: unwanted font replacement during inclussion
Date: Wed, 01 Jun 2005 23:35:24 +0200	[thread overview]
Message-ID: <429E2A1C.5010907@seznam.cz> (raw)

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

             reply	other threads:[~2005-06-01 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01 21:35 Vit Zyka [this message]
2005-06-01 21:36 Vit Zyka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429E2A1C.5010907@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    --cc=ntg-pdftex@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).