I continue to be stumped by font stuff.  I want to use the cursive-style font 
(font family Kurinto TRom) for italics, but still use the normal oblique style 
for slanted.  But the naïve/obvious approach doesn't do it—italics are 
unaffected.   Help?

Here's what I tried:




\starttext
\definefontfamily[Kurinto] [rm] [Kurinto Text][it=file:KurintoTMod-It]
%\definefontfamily[Kurinto] [it] [Kurinto TRom] % Doesn't work either
\definefontfamily[Kurinto] [sl] [Kurinto Text]
\definefontfamily[Kurinto] [ss] [Kurinto Sans]
\definefontfamily[Kurinto] [mono] [Kurinto Mono]
\definefontfamily[Kurinto] [mm] [Latin Modern Math]
\setupbodyfont[Kurinto,12pt]
\startbuffer[line]
The quick brown fox jumps over
\stopbuffer
\startbuffer[sample]
\startTABLE
  \NC \type{\normal}        \NC \normal{\getbuffer[line]}    \NC \NR
  \NC \type{\italic}        \NC \italic{\getbuffer[line]}    \NC \NR
  \NC \type{\slanted}        \NC \slanted{\getbuffer[line]}    \NC \NR
  \NC \type{\bold}          \NC \bold{\getbuffer[line]}    \NC \NR
  \NC \type{\bolditalic}
  \NC \bolditalic{\getbuffer[line]}
  \NC \NR
  \NC \type{\boldslanted}
  \NC \boldslanted{\getbuffer[line]}
  \NC \NR
  \NC \type{\smallcaps}
  \NC \smallcaps{\getbuffer[line]}
  \NC \NR
\stopTABLE
\stopbuffer
\startlines
\type{\serif}
\serif{\getbuffer[sample]}
\stoplines
\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to