Hi Hans,

Thank you for your help! I have switched to \usetypescriptfile[mscore].

However, I do not understand one thing, I am using envvar in Linux `OSFONTDIR` and all font file names are in upper case. When \usetypescriptfile[mscore] is set, ConTeXt cannot find font files, when I have renamed all files to lower case, then it works.

If I will query font cache with: `mtxrun --script font --list --all --pattern=stsong`, it will return correct path to font file and it does not depend on case.

Is it a feature?

Best regards,

BruXy


On 27/08/17 03:12 PM, Hans Hagen wrote:
Hi,

Attached is a better alternative (just replace the file in the distribution).

\usetypescriptfile[mscore]

\setupbodyfont [mschinese,12pt]
\usebodyfont   [mschinese-light,12pt]

\definebodyfontenvironment[24pt]
\definebodyfontenvironment[18pt]

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
___________________________________________________________________________________

Reply via email to