TeXGyre Fonts
David Carlisle
d.p.carlisle at gmail.com
Thu Oct 31 20:16:51 CET 2024
On Thu, 31 Oct 2024 at 18:53, Herbert Voss <Herbert.Voss at fu-berlin.de>
wrote:
>
>
>
> Am 31.10.24 um 16:15 schrieb David Carlisle:
> >
> > this just came up at
> >
> > https://github.com/latex3/fontspec/issues/533
> >
> > It's true that xetex (for some reason) is picking up the preferred
> > family name and loading the companion font on a request for
> > TeX Gyre Termes Math, but looking at the description of that field at
> >
> >
> https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html
> >
> > I think the font is correct: this field groups this companion font
> > under the main family in relevant menu interfaces.
>
> But the fonts are completely different, the TeXGyreTermesMath-Companion.otf
> for example has only 2 glyphs. The standard texgyretermes-math.otf has
> 1112!
>
yes the companion fonts are just add-on fonts adding some extra glyphs
>
> So \setmathfont{TeX Gyre Termes Math} should find the standard one.
>
yes exactly but xetex should be using the internal font family or PS Name
or .. anything other than the preferred-family field
you can avoid the problem by using the file name or using
\setmathfont{TeXGyreTermesMath-Regular} for example
> Herbert
>
>
> >
> > most likely xetex should just not see this field at all.
> >
> > David
> >
> >
> >
> > On Thu, 31 Oct 2024 at 14:37, Herbert Voss <Herbert.Voss at fu-berlin.de>
> > wrote:
> >
> > Hello all,
> >
> > the texgyre math fonts are in .../fonts/opentype/tex-gyre-math:
> >
> > texgyredejavu-math.otf
> > texgyrepagella-math.otf
> > texgyreschola-math.otf
> > texgyretermes-math.otf
> >
> > In the font dir .../fonts/opentype/context-companion-fonts I see:
> >
> > LatinModernMath-Companion.otf
> > TeXGyreBonumMath-Companion.otf
> > TeXGyreTermesMath-Companion.otf
> > RalphSmithsFormalScript-Companion.otf
> > TeXGyrePagellaMath-Companion.otf
> > XITSMath-Companion.otf
> >
> >
> > The TeX Gyre Termes Fonts have different fontnames except of
> > the entry for "Preferred family"
> >
> > voss>context-companion-fonts:$ otfinfo -i
> > TeXGyreTermesMath-Companion.otf
> > Family: TeX Gyre Termes Math Companion
> > Subfamily: Companion
> > Full name: TeXGyreTermesMath-Companion
> > PostScript name: TeXGyreTermesMath-Companion
> > Preferred family: TeX Gyre Termes Math
> >
> >
> > this is misleading to me, because the original
> > texgyretermes/bonum/pagella-math
> > have the same name for "Preferred family". The companion fonts
> > are also
> > completely different to the original ones. Should't it be better to
> > change also the "Preferred family" entry identically to the Family
> > name
> > for the companion fonts?
> >
> > Herbert
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20241031/0d323249/attachment-0001.htm>
More information about the tex-live
mailing list.