Re: [NTG-context] ntg-context Digest, Vol 93, Issue 36

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
participants (1)
-
S Barmeier