Dear list, I have a problem with the small letter h when I do a \definefallbackfamily. Example: \definefontfamily [myface] [rm] [TeX Gyre Pagella] \definefallbackfamily[myface][math][TeX Gyre Termes][preset=math:lowercaseitalic] \definefontfamily[myface][math][TeX Gyre Pagella Math] \setuppagenumbering[state=stop] \setupbodyfont[myface] \starttext $h$ \stoptext I get the h set in Pagella. With any other letter I get Termes... In my real example I do not want to replace with Termes but with a font (FrutigerLTstd) that does not have a math version. It seems (when I look with gnome character map), that the letter h is missing (or, probably, to be found elsewhere) from all fonts. Is there any chance I can fix this substitution manually for the letter h? /Mikael
Am 04.08.2014 um 20:58 schrieb Mikael P. Sundqvist
Dear list,
I have a problem with the small letter h when I do a \definefallbackfamily. Example:
\definefontfamily [myface] [rm] [TeX Gyre Pagella] \definefallbackfamily[myface][math][TeX Gyre Termes][preset=math:lowercaseitalic] \definefontfamily[myface][math][TeX Gyre Pagella Math]
\setuppagenumbering[state=stop]
\setupbodyfont[myface]
\starttext $h$ \stoptext
I get the h set in Pagella. With any other letter I get Termes... In my real example I do not want to replace with Termes but with a font (FrutigerLTstd) that does not have a math version.
It seems (when I look with gnome character map), that the letter h is missing (or, probably, to be found elsewhere) from all fonts.
Is there any chance I can fix this substitution manually for the letter h?
You have to change the symbol for the planck constant which is used by unicode for the mathematical small italic h, you can see in the unicode chart (http://www.unicode.org/charts/PDF/U1D400.pdf) there is a gap on the position of the h. \definefontfamily [myface] [rm] [TeX Gyre Pagella] \definefallbackfamily[myface][math][TeX Gyre Heros][preset=math:lowercaseitalic] \definefallbackfamily[myface][math][TeX Gyre Heros][tf=style:italic,range=0x68,offset=0x210E] \definefontfamily[myface][math][TeX Gyre Pagella Math] \setuppagenumbering[state=stop] \setupbodyfont[myface] \starttext $h$ \stoptext Wolfgang
On Tue, Aug 5, 2014 at 12:18 PM, Wolfgang Schuster
You have to change the symbol for the planck constant which is used by unicode for the mathematical small italic h, you can see in the unicode chart (http://www.unicode.org/charts/PDF/U1D400.pdf) there is a gap on the position of the h.
\definefontfamily [myface] [rm] [TeX Gyre Pagella]
\definefallbackfamily[myface][math][TeX Gyre Heros][preset=math:lowercaseitalic] \definefallbackfamily[myface][math][TeX Gyre Heros][tf=style:italic,range=0x68,offset=0x210E]
\definefontfamily[myface][math][TeX Gyre Pagella Math]
\setuppagenumbering[state=stop]
\setupbodyfont[myface]
\starttext $h$ \stoptext
Wolfgang
Thank you very much, that is it! Mikael
participants (2)
-
Mikael P. Sundqvist
-
Wolfgang Schuster