
On 6/17/25 17:59, Mike Urban wrote:
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?
Hi Mike, downloading from https://kurinto.com/zip/Kurinto_v2.197_Lite.zip (direct link), I use the following: \definefontfamily[kurinto] [rm] [Kurinto Text] [sl={style:regular, features:{default, slanted}}, bs={style:bold, features:{default, slanted}}] \definefontfamily[kurinto] [tt] [TeX Gyre Termes] [sl={style:regular, features:{default, slanted}}, bs={style:bold, features:{default, slanted}}] \setupbodyfont[kurinto] \starttext \doloopoverlist{\rm, \tt}{\recursestring% \doloopoverlist{tf, sl, it, bs, bi} {{\startTEXpage[offset=1dk] \executeifdefined{\recursestring}{} \recursestring {\feature[+][smallcaps] smcp: \recursestring}\\ \samplefile{knuth} \stopTEXpage}}} \stoptext Only lines 2-3 are what you may need, but if you compile the sample, you will see: 1. It seems that the italic font in Kurinto is actually an slanted one (this is why it makes no difference between slanted and and italics in Kurinto, but they are two (visually) different fonts in TeX Gyre Termes (the same will happen with TeX Gyre Pagella or TeX Gyre Heros). 2. To small caps you may find a twofold approach (besides faking them). You may find them as a speciall font (as in metal ones) or as OT feature. Being roman, italics and bold (to name few) different fonts from the same typeface (Kurinto or Times), all these fonts may have different glyphs for small caps. I hope it may help, Pablo