ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hartmut Henkel <hartmut_henkel@gmx.de>
Cc: ConTeXt <ntg-context@ntg.nl>, pdfTeX developers list <ntg-pdftex@ntg.nl>
Subject: Re: [NTG-pdftex] unwanted font replacement during inclussion
Date: Thu, 2 Jun 2005 01:05:39 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0506020044160.5672@hahepc1.hahe> (raw)
In-Reply-To: <429E2A79.1060200@seznam.cz>

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
something must be wrong with the map file.

Regards, Hartmut

P.S. just found http://www.jwz.org/dadadodo/ (good for blindtext :-)

  reply	other threads:[~2005-06-01 23:05 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 ` Hartmut Henkel [this message]
2005-06-02  8:08   ` [NTG-pdftex] " Taco Hoekwater
2005-06-02  8:18   ` 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=Pine.LNX.4.61.0506020044160.5672@hahepc1.hahe \
    --to=hartmut_henkel@gmx.de \
    --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).