
% Start a typescript:

\starttypescript[serif][testrm][uc]
% Regular variant:
 \definefontsynonym[MyungjoRegular][(smGothicR\space W35)][encoding=uc]
 \definefontsynonym[MyungjoLight][(smHangSer\space Medium)][encoding=uc]
 \definefontsynonym[MyungjoBold][(smJohabP\space Medium)][encoding=uc]
\stoptypescript

% Start another typescript that associates generic names with 
% mid-level names:
\starttypescript[serif][tesetrm][name]
 \definefontsynonym[Serif][MyungjoRegular]
 \definefontsynonym[SerifBold][MyungjoBold]
 \definefontsynonym[SerifItalic][MyungjoLight]
 \definefontsynonym[SerifBoldItalic][MyungjoBold]
% The fallbacks
 \definefontsynonym[SerifSlanted][SerifItalic]
 \definefontsynonym[SerifBoldSlanted][SerifBold]
 \definefontsynonym[SerifCaps][Serif]
\stoptypescript


\starttypescript[myface]
 \definetypeface[Myface][rm][serif][testrm][default][encoding=uc]
 %\definetypeface[Myface][ss][sans][yoongo][default][encoding=uc]
 %\definetypeface[Myface][tt][mono][yoonche][default][encoding=uc]
%\definetypeface [Myface][mm][math] [iwona][default][encoding=uc] 
\stoptypescript
