From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21111 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Fonts in Metapost Date: Fri, 01 Jul 2005 18:58:55 +0200 Message-ID: <42C5764F.3070509@boede.nl> References: <42C568C6.9010401@student.kuleuven.be> 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 1120236837 8544 80.91.229.2 (1 Jul 2005 16:53:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 16:53:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 18:53:55 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 1DoOlM-0007CD-DX for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2005 18:53:12 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 690CE127D5; Fri, 1 Jul 2005 19:00:52 +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 25876-04; Fri, 1 Jul 2005 19:00:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4EE1127A3; Fri, 1 Jul 2005 18:59:00 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDAF7127A3 for ; Fri, 1 Jul 2005 18:58:58 +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 25876-03 for ; Fri, 1 Jul 2005 18:58:58 +0200 (CEST) Original-Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by ronja.ntg.nl (Postfix) with ESMTP id 0E8791279F for ; Fri, 1 Jul 2005 18:58:57 +0200 (CEST) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr6.xs4all.nl (8.13.3/8.13.3) with ESMTP id j61GwvXJ058996 for ; Fri, 1 Jul 2005 18:58:57 +0200 (CEST) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42C568C6.9010401@student.kuleuven.be> X-Virus-Scanned: by XS4ALL Virus Scanner 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:21111 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21111 Hi Wolfgang, I do hope that I am not missing something. But I think, that you should say in the MPenvironment: \setupbodyfont[Cmbr,12pt] Otherwise the setupbodyfont command does not know which font to setup. Willi Wolfgang Zillig wrote: > Hello, > > I have problems with changeing the font in Metapost. I defined my own > typescripts somewhere and I also have a mapfile for that fonts. In > normal text it workes fine (even math). > > Now I want to change the font in MP as well (my text is included as > label("test",(200,200));): > > %normal stups: > \loadmapfile[cmbright.map] %it seems that the mapfile is loaded only > once > \usetypescriptfile[type-cmbr] > \usetypescript[Cmbr] > \setupbodyfont[12pt] > > \startMPenvironment > \loadmapfile[cmbright.map] %it seems that the mapfile is loaded only > once > \usetypescriptfile[type-cmbr] > \usetypescript[Cmbr] > \setupbodyfont[12pt] > \stopMPenvironment > > But I always get the standard CMR output. > > Did I miss a step somewhere? > > Has anyone an idea what's going wrong? > > Thanks for any help! > > Wolfgang > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context