On 11/19/2016 8:22 PM, Wolfgang Schuster wrote:
Hans Hagen <mailto:pra...@wxs.nl>
18. November 2016 um 23:08
I don't know,
\definefallbackfamily[mainface][serif][texgyrepagella]
\definefontfamily[mainface][sans][texgyrepagella]
\setupbodyfont[mainface]
\starttext
Why is the text in bold italic?
\stoptext
works ok here so you need to check what palatino gets selected (maybe
you need to be more specific)
I can reproduce with the palatino on my system which comes in ttc-format.
The problem is that context adds only a single font from a ttc-font to
the database
which results in weird results.
Clearing the font cache with "mtxrun --script cache --fonts --erase"
helps sometimes
but the problem can appear when the font cache is updated.
afaiks ttc subfonts get an entry in the name list (of course access by
file is debatable then, in which case the first found match is used)
if you add fonts to the system with the same name you need to force a
mtxrun --script font --reload --force
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________