Shrink kerning of italic “y” with TeX Gyre Schola Math
Mekeor Melire <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone. I have been using Pagella so far but some of its
characters just look weird. I like Schola much better. But this
code...
--8<---------------cut here---------------start------------->8---
\definefontfamily[mainface][rm][TeX Gyre Schola]
\definefontfamily[mainface][mm][TeX Gyre Schola Math]
\setupbodyfont[mainface]
\definemathconstant[type][type]
\definemathconstant[theory][theory]
\starttext
\startformula
\type\quad\theory
\stopformula
\stoptext
--8<---------------cut here---------------end--------------->8---
results “type theory” to look like “t y pe theor y”.
\setupmathematics[mathconstants=upright] makes the problem vanish
but I want italic constants. Outside of math mode, {\it type
theory} looks good. So, it's really about italic Schola Math, I
think.
I tried stuff like this without success:
--8<---------------cut here---------------start------------->8---
\startluacode
fonts.handlers.otf.addfeature {
name = "ytightname",
type = "kern",
data = {
["r"] = { ["y"] = -100, },
["t"] = { ["y"] = -100, },
["y"] = { ["p"] = -100, },
},
}
\stopluacode
\definefontfeature[ytight][ytightname=yes]
\definefontfamily[mainface][mm][TeX Gyre Schola Math][features=ytight]
--8<---------------cut here---------------end--------------->8---
I would appreciate any support very much as I want to submit my
master thesis on Saturday.
Mekeor
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________