From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67444 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Changing the font used in a flowchart Date: Sat, 26 Mar 2011 22:11:41 +0100 Message-ID: References: <62EA30CA-7610-41AE-A699-CB4F960C09F6@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1695277049==" X-Trace: dough.gmane.org 1301173917 20281 80.91.229.12 (26 Mar 2011 21:11:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2011 21:11:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 26 22:11:50 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3aly-0000tM-Kt for gctc-ntg-context-518@m.gmane.org; Sat, 26 Mar 2011 22:11:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06E5CCAB5B; Sat, 26 Mar 2011 22:11:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PDdiGWfkjSQQ; Sat, 26 Mar 2011 22:11:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D1E0CAB1A; Sat, 26 Mar 2011 22:11:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19BCCCAB1A for ; Sat, 26 Mar 2011 22:11:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ts90cZ+HzOwn for ; Sat, 26 Mar 2011 22:11:26 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2A54BCAAF9 for ; Sat, 26 Mar 2011 22:11:26 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2QLBgJ5006674 for ; Sat, 26 Mar 2011 22:11:42 +0100 Original-Received: by fxm18 with SMTP id 18so2440769fxm.14 for ; Sat, 26 Mar 2011 14:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mmNudUGU4vdC78WsHA1IiB+escTGosQszwyvOwCK1co=; b=JruioOsjEpRsJO9ehjXPF9rLNjB1C2POgzimh4Zrpkij7WE+QsqPgwiq8c8+3cCyN7 8zhjRnDYvwU+cf0KRzUuDGxbVaFJTJrvyhyfsD6dWzegE5dziCsxflSaNstopcySShY5 43NT5QYvxwPUrIYRi0O9ZKmUuyGmiCXUYBk5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Z9dOP9DwhbPKxhjswMxi6Iod6lXcz//4WVIWf+mv42wblstG5smVsQo51Tgd5qgzN2 qgTqHYRQuTYBMI+qo97hsp4l0q7A9CSgjLq4gjWWdCtsOVZeiRpJH/B6fJSQj30COGWB d7Nj5nWbVeaQXp/i8BX54T9qLtDaPv9/RfAek= Original-Received: by 10.223.102.129 with SMTP id g1mr2677811fao.3.1301173901728; Sat, 26 Mar 2011 14:11:41 -0700 (PDT) Original-Received: by 10.223.103.141 with HTTP; Sat, 26 Mar 2011 14:11:41 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03EnVbGRi - a1abd8241d23 - 20110326 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:67444 Archived-At: --===============1695277049== Content-Type: multipart/alternative; boundary=20cf30433fe6341b0a049f6928ae --20cf30433fe6341b0a049f6928ae Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/3/26 Wolfgang Schuster > When you use the =93maxwidth=94 or =93maxheight=94 keys context ignores > > the current bodyfont and also the =93bodyfont=94 key to fit the chart on = the >> page. >> > > What is the reason for this? > > > Try your example without \startTEXpage/\stopTEXpage and you see that the > chart won=92t fit on the page when you set the fontsize to 24pt. To keep = the > width > of the chart within the allowed width (\textwidth) context reduce the > fontsize > until the chart fits. > The 24pt was just as example. I am using 10pt for the real flowchart. I am using it to make a png file so I need the \startTEXpage. The only thing I now use is: \runMPgraphicsfalse \usemodule[chart] \setupFLOWcharts[ bodyfont=3D{PT Serif,rm,10pt}, ] Does not look to bad. --=20 Cecil Westerhof --20cf30433fe6341b0a049f6928ae Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/3/26 Wolfgang Schuster &l= t;schuster.wolfgang@goo= glemail.com>
When you use the =93maxwidth=94 or =93m= axheight=94 keys context ignores
the current bodyfont and also the =93bodyfont=94 key to fit the chart = on the page.

What is the reason for this?= =A0

Try your example without \= startTEXpage/\stopTEXpage and you see that the
chart won=92t fit on the page when you set the fontsize to 24pt. To ke= ep the width
of the chart within the allowed width (\textwidth) c= ontext reduce the fontsize
until the chart fits.

The 24pt was just as example. I am using 10pt for the real flowcha= rt. I am using it to make a png file so I need the \startTEXpage.

Th= e only thing I now use is:
\runMPgraphicsfalse
=A0 \usemodule[chart]<= br>
\setupFLOWcharts[
=A0 bodyfont=3D{PT Serif,rm,10pt},
]

Doe= s not look to bad.

--
Cecil Westerhof
--20cf30433fe6341b0a049f6928ae-- --===============1695277049== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1695277049==--