From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20636 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: Re: [NTG-pdftex] unwanted font replacement during inclussion Date: Thu, 02 Jun 2005 10:18:37 +0200 Message-ID: <429EC0DD.2060802@seznam.cz> References: <429E2A79.1060200@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117700146 3674 80.91.229.2 (2 Jun 2005 08:15:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 08:15:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 02 10:15:45 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdkqR-0000No-My for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jun 2005 10:14:28 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C29F12823; Thu, 2 Jun 2005 10:17:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01005-01-4; Thu, 2 Jun 2005 10:17:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E4F9B1280C; Thu, 2 Jun 2005 10:17:26 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4AB2F1280C for ; Thu, 2 Jun 2005 10:17:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01005-01-3 for ; Thu, 2 Jun 2005 10:17:24 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 4E989127ED for ; Thu, 2 Jun 2005 10:17:24 +0200 (CEST) Original-Received: (qmail 22967 invoked from network); 2 Jun 2005 08:17:19 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by smtp.seznam.cz with SMTP; 2 Jun 2005 08:17:19 -0000 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Antivirus: avast! (VPS 0521-0, 23.05.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20636 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20636 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 > 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