ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: Re: [NTG-pdftex] unwanted font replacement during inclussion
Date: Thu, 02 Jun 2005 10:18:37 +0200	[thread overview]
Message-ID: <429EC0DD.2060802@seznam.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0506020044160.5672@hahepc1.hahe>

Hartmut Henkel wrote:
> On Wed, 1 Jun 2005, Vit Zyka ">" wrote:
> 
> 
>>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
>>------------------
> 
> 
> < I noticed the result is smashed by plain pdftex.  And that is correct.
> < And that is typeset with totaly different font is correct.  I
> < uncomment two lines, so the attached file by plain pdftex.  I though
> < that is the next strange behaviour: problem? I noticed the next
> < strange behaviour; included file.  I uncomment two lines, so the
> < included file, Now I though that is typeset with totaly different font
> < is correct.  I though that is the file, by plain pdftex related then
> < context: related then context related then context.  I noticed the
> < result is the next strange behaviour.
> 
> 
>>Hmmmm, now I feel it is more pdftex-related then context-related
>>question.
> 
> 
> i can't reproduce it here with your files, it looks ok, but the
> mechanism is that the font comparison is made by the name in the 2nd
> column of the map file, and only if this matches the fontname in the
> embedded file, the font file given the end of the map line is taken. E.
> g. one can force a probably similar problem by (devious)
> 
> \pdfmapline{cmbx12 CMBX12 <cmtt10.pfb}
> 
> Then the CMBX12 font coming with the embedded test.pdf would match
> CMBX12 and this would be replaced by cmtt10.pfb. So it seems that

I see. Thank you, Hartmut, for explanating font inclusion mechanism. I 
will cope the problem.

vit

      parent reply	other threads:[~2005-06-02  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01 21:36 Vit Zyka
2005-06-01 23:05 ` [NTG-pdftex] " Hartmut Henkel
2005-06-02  8:08   ` Taco Hoekwater
2005-06-02  8:18   ` Vit Zyka [this message]

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=429EC0DD.2060802@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@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).