ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Changing the font used in a flowchart
Date: Sat, 26 Mar 2011 22:11:41 +0100	[thread overview]
Message-ID: <AANLkTi=8_+_qMfCmwWCvLxabytpx7KD3yWHMdFftnBfV@mail.gmail.com> (raw)
In-Reply-To: <FCBED0FB-3B3B-47D8-8CF6-817C76A81D2E@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]

2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

> When you use the “maxwidth” or “maxheight” keys context ignores
>
> the current bodyfont and also the “bodyfont” 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’t 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={PT Serif,rm,10pt},
]

Does not look to bad.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 1563 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2011-03-26 21:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 11:24 Cecil Westerhof
2011-03-26 11:37 ` Wolfgang Schuster
2011-03-26 12:37   ` Cecil Westerhof
2011-03-26 12:48     ` Cecil Westerhof
2011-03-26 15:55       ` Wolfgang Schuster
2011-03-26 17:15         ` Cecil Westerhof
2011-03-26 17:24           ` Wolfgang Schuster
2011-03-26 21:11             ` Cecil Westerhof [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=8_+_qMfCmwWCvLxabytpx7KD3yWHMdFftnBfV@mail.gmail.com' \
    --to=cldwesterhof@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).