> I use a Korean unfont as main fonts and an English fonts as fallback font 
> using the following type script file which is made by the help of Hans and 
> D.H. Kim.
> You may set fonts similarly.
> 
> Korean fonts contained Chinese glyph(not all of them) and Japanese glyph, we 
> don't have any problem to use them.
> 
> I hope that it may help you to find a solution of your problem.
> 
> Best regards,
> 
> Dalyoung

Thank you. I tried to adapt this (see below), but I'm not sure how to
invoke this typescript. There are \usetypescript \setupbodyfont and
\setmainfont from the simplefonts module, none of which seem to do what
I want... Could you enlighten me?

Many thanks,
Severin

\definefontfeature[jpdefault][mode=node,script=hang,lang=jap]
\def\mydefaultfeatures{kern=yes;liga=yes;tlig=yes;trep=yes}
\def\mysmallcapsfeatures{\mydefaultfeatures;smcp=yes}
% Font fallbacks for Latin alphabet
\definefontfallback[serifwhatever][gentium:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifboldwhatever][gentiumbasicbold:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifitalicwhatever][gentiumitalic:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifbolditalicwhatever][gentiumbasicbolditalic:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifboldslantedwhatever][gentiumbasicbold:\myslantfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifcapswhatever][gentium:\mysmallcapsfeatures][0x0000-0x0400][force=yes]
\definefontfallback[sanswhatever][andikabasic:\mydefaultfeatures][0x0000-0x0400][force=yes]
% IPA Fonts
\starttypescript[serif][IPAexMincho]
\definefontsynonym[ipaexmincho][ipaexm.ttf][features=jpdefault,fallbacks=serifwhatever]
\stoptypescript
\starttypescript[serif][IPAexMincho][name]
\definefontsynonym[Serif][ipaexmincho]
\stoptypescript
\starttypescript[sans][IPAexGothic]
\definefontsynonym[ipaexgothic][ipaexg.ttf][features=jpdefault,fallbacks=sanswhatever]
\stoptypescript
\starttypescript[sans][IPAexGothic][name]
\definefontsynonym[Sans][ipaexgothic]
\stoptypescript
\starttypescript[mono][KanjiStrokeOrders]
\definefontsynonym[kanjistrokeorders][KanjiStrokeOrders_v2.015.ttf][features=jpdefault,fallbacks=monowhatever]
\stoptypescript
\starttypescript[mono][KanjiStrokeOrders][name]
\definefontsynonym[Mono][kanjistrokeorders]
\stoptypescript
\starttypescript[MyIPAex]
\definetypeface[Myface][rm][serif][IPAexMincho]
\definetypeface[Myface][ss][sans] [IPAexGothic]
\definetypeface[Myface][tt][mono] [KanjiStrokeOrders]
\stoptypescript
___________________________________________________________________________________
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 via email to