# [NTG-context] Changing the font used in a flowchart

Cecil Westerhof cldwesterhof at gmail.com
Sat Mar 26 22:11:41 CET 2011

```2011/3/26 Wolfgang Schuster <schuster.wolfgang at 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},
]