[NTG-context] Strange spurious character

Hans Hagen pragma at wxs.nl
Sun Nov 20 12:12:43 CET 2016


On 11/19/2016 8:22 PM, Wolfgang Schuster wrote:
>> Hans Hagen <mailto:pragma at 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
-----------------------------------------------------------------


More information about the ntg-context mailing list