From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20626 Path: news.gmane.org!not-for-mail From: Hartmut Henkel Newsgroups: gmane.comp.tex.context Subject: Re: [NTG-pdftex] unwanted font replacement during inclussion Date: Thu, 2 Jun 2005 01:05:39 +0200 (CEST) Message-ID: 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=US-ASCII X-Trace: sea.gmane.org 1117667070 28132 80.91.229.2 (1 Jun 2005 23:04:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2005 23:04:30 +0000 (UTC) Cc: ConTeXt , pdfTeX developers list Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 02 01:04:25 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 1DdcEx-0005qi-J3 for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jun 2005 01:03:11 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F0BE12817; Thu, 2 Jun 2005 01:06:11 +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 28024-04-5; Thu, 2 Jun 2005 01:05:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BE8E12801; Thu, 2 Jun 2005 01:05:50 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A39B712793 for ; Thu, 2 Jun 2005 01:05:45 +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 29199-01-2 for ; Thu, 2 Jun 2005 01:05:41 +0200 (CEST) Original-Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 788FD12804 for ; Thu, 2 Jun 2005 01:05:41 +0200 (CEST) Original-Received: (qmail invoked by alias); 01 Jun 2005 23:05:41 -0000 Original-Received: from p54AC0B56.dip0.t-ipconnect.de (EHLO hahepc1.hahe) [84.172.11.86] by mail.gmx.net (mp024) with SMTP; 02 Jun 2005 01:05:41 +0200 X-Authenticated: #6218946 Original-Received: from hahe (helo=localhost) by hahepc1.hahe with local-esmtp (Exim 4.50) id 1DdcHL-0001ZL-IC; Thu, 02 Jun 2005 01:05:39 +0200 Original-To: Vit Zyka In-Reply-To: <429E2A79.1060200@seznam.cz> X-Y-GMX-Trusted: 0 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:20626 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20626 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