From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36104 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: MetaFun and different body font size Date: Mon, 20 Aug 2007 13:06:11 +0200 Message-ID: <115224fb0708200406l705ed6b2h14a96dec42d5bce5@mail.gmail.com> References: <27E4566A-5705-4594-9894-A88D3D8378CD@mpq.mpg.de> <7AD9E438-BDD4-4B9A-8DB1-39FC8D2221DF@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187608003 22739 80.91.229.12 (20 Aug 2007 11:06:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2007 11:06:43 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 20 13:06:38 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IN55i-0005Yz-Oy for gctc-ntg-context-518@m.gmane.org; Mon, 20 Aug 2007 13:06:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8058720209; Mon, 20 Aug 2007 13:06:37 +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 32526-08; Mon, 20 Aug 2007 13:06:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4BC20201E7; Mon, 20 Aug 2007 13:06:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D4A1201E7 for ; Mon, 20 Aug 2007 13:06:21 +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 00524-02-14 for ; Mon, 20 Aug 2007 13:06:13 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by ronja.ntg.nl (Postfix) with ESMTP id 57A77201E3 for ; Mon, 20 Aug 2007 13:06:13 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id b20so88375ana for ; Mon, 20 Aug 2007 04:06:12 -0700 (PDT) Original-Received: by 10.90.104.14 with SMTP id b14mr9512767agc.1187607971962; Mon, 20 Aug 2007 04:06:11 -0700 (PDT) Original-Received: by 10.90.104.4 with HTTP; Mon, 20 Aug 2007 04:06:11 -0700 (PDT) In-Reply-To: <7AD9E438-BDD4-4B9A-8DB1-39FC8D2221DF@mpq.mpg.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36104 Archived-At: 2007/8/20, Oliver Buerschaper : > > Somehow MetaFun doesn't recognize the larger body font size :-( > > By the way, font face changes aren't reflected either ... > > --- > > \usetypescript[palatino][\defaultencoding] > > \setupbodyfont[palatino,32pt] > > > \starttext > > \input ward > > \startuseMPgraphic{test} > draw unitsquare scaled BodyFontSize; > draw textext.rt("Test"); > draw btex \TeX etex xshifted 2*BodyFontSize; > \stopuseMPgraphic > \useMPgraphic{test} > > \stoptext Did this work for you \startMPenvironment \usetypescript[palatino][texnansi] \switchtobodyfont[palatino,20pt] \stopMPenvironment \usetypescript[palatino][texnansi] \setupbodyfont[palatino,20pt] \starttext Text \startuseMPgraphic label("Text",origin) ; \stopuseMPgraphic \useMPgraphic \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________