* [NTG-context] Re: Using Kurinto: Cursive/Slanted
[not found] <CFDB7C84-9CF3-4697-B4C4-8970C0B03578@ca.rr.com>
@ 2025-06-18 16:55 ` Pablo Rodriguez via ntg-context
0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-18 16:55 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-18 16:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CFDB7C84-9CF3-4697-B4C4-8970C0B03578@ca.rr.com>
2025-06-18 16:55 ` [NTG-context] Re: Using Kurinto: Cursive/Slanted Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).