From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21156 Path: news.gmane.org!not-for-mail From: Radhelorn Newsgroups: gmane.comp.tex.context Subject: Re: Re: Confusion with font instructions Date: Mon, 04 Jul 2005 23:09:29 +0400 Message-ID: <42C98969.4000905@mail.ru> References: 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 1120504173 29510 80.91.229.2 (4 Jul 2005 19:09:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 19:09:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 21:09: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 1DpWJC-0000M4-0C for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2005 21:08:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84EBB127BA; Mon, 4 Jul 2005 21:08: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 10405-01; Mon, 4 Jul 2005 21:08:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 46022127BC; Mon, 4 Jul 2005 21:05:18 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23759127BC for ; Mon, 4 Jul 2005 21:05:16 +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 10147-02-5 for ; Mon, 4 Jul 2005 21:05:15 +0200 (CEST) Original-Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by ronja.ntg.nl (Postfix) with ESMTP id 1FEF3127BA for ; Mon, 4 Jul 2005 21:05:14 +0200 (CEST) Original-Received: from [217.106.91.40] (port=46975 helo=[172.16.6.38]) by mx2.mail.ru with esmtp id 1DpWFk-0003zK-00 for ntg-context@ntg.nl; Mon, 04 Jul 2005 23:05:13 +0400 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: 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:21156 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21156 David Rogers wrote: >>>OK, I tried this setup, and ConTeXt ran without stopping to complain, >>>but (as Otared described, I guess) the font actually produced is very >>>jaggy, both on screen and in print. My nostalgia for dot matrix > .................... > fonts : resetting map file list > fonts : using map file: original-base > fonts : using map file: ec-public-lm > fonts : using map file: ec-base > fonts : using map file: original-ams-base > fonts : using map file: original-public-lm > fonts : using map file: ec-urw-palatino > fonts : using map file: original-youngryu-px > [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ > original-empty > .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ > original-base > .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec- > public-lm. > map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base > .map}{/ > usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-ams- > base.ma > p}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- > public- > lm.map} > Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file > {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- > youngryu- > px.map}] [2.2] [3.3] > ............ Well, here is your problem. pdftex cannot find map file for direct font inclusion and you get bitmaps. I've found needed definitions in context-base.map and ec-base.map. ec-base is loaded by default, but dose nothing. Maybe someone explain this. As a quick solution try: \loadmapfile [context-base] % !!! \setupencoding [default=ec] \usetypescript [adobekb] [\defaultencoding] \usetypescript [palatino] [\defaultencoding] \usetypescript [postscript] [\defaultencoding] \usetypescript [lucida] [\defaultencoding] \setupbodyfont [palatino] \setupoutput[pdftex] \startbuffer Some {\bf text} to {\it test} {\sl font} {\bs switching}. \stopbuffer \starttext \getbuffer \switchtobodyfont [postscript] \getbuffer \switchtobodyfont [lucida] \getbuffer \stoptext Works for me on tetex-3.0. -- Radhelorn