<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 12 Jul 2022 at 22:03, David Jones <<a href="mailto:dmj@ams.org">dmj@ams.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">STIX Two is distributed in OTF, TTF, and WOFF2 formats:<br>
<br>
     <a href="https://github.com/stipub/stixfonts" rel="noreferrer" target="_blank">https://github.com/stipub/stixfonts</a><br>
<br>
Only the TTF files are variable fonts.<br>
<br>
Only the OTF fonts are distributed via CTAN since none of the TeX engines can use the (variable) TTF fonts. <br></blockquote><div><br></div><div>luatex (luaotfload) can use variable fonts (as shown in the original message in this thread) see also <a href="https://tex.stackexchange.com/a/630608/1090">https://tex.stackexchange.com/a/630608/1090</a></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The changes in version 2.13 only affected the variable fonts, not the "static" OTF files (although the version numbers were bumped up to match the ttf files).  That's why we didn't push a new version of stix2-otf package to CTAN.<br>
<br>
Cheers,<br>
David.<br>
________________________________________<br>
From: XeTeX <xetex-bounces+dmj=<a href="mailto:ams.org@tug.org" target="_blank">ams.org@tug.org</a>> on behalf of Bruno Voisin via XeTeX <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>
Sent: Tuesday, July 12, 2022 10:17 AM<br>
To: <a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a><br>
Subject: [XeTeX] Support of variable OpenType fonts<br>
<br>
Does XeTeX support variable OpenType fonts, or is the addition of their support planned at some point?<br>
<br>
There does not seem to be any clear statement on the net about this, but based on<br>
<br>
<a href="https://tex.stackexchange.com/questions/355104/tex-luatex-xetex-fontspec-support-for-opentype-variable-fonts" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/355104/tex-luatex-xetex-fontspec-support-for-opentype-variable-fonts</a><br>
<a href="https://sourceforge.net/p/xetex/feature-requests/28" rel="noreferrer" target="_blank">https://sourceforge.net/p/xetex/feature-requests/28</a><br>
<br>
I have the impression there's no such support yet.<br>
<br>
I'm asking because the next version of macOS, currently in public beta, includes the STIX Two fonts in a slightly more recent version than TeX Live (2.13 b171 for macOS vs 2.12 b168 for TL).<br>
<br>
The math font is in OTF format, same as in TL, but the text fonts are in variable OpenType format, actually the files<br>
<br>
        STIXTwoText[wght].ttf<br>
        STIXTwoText-Italic[wght].ttf<br>
<br>
from the official STIX Two distribution renamed as<br>
<br>
        STIXTwoText.ttf<br>
        STIXTwoText-Italic.ttf<br>
<br>
respectively.<br>
<br>
Loading the fonts with LuaTeX and luaotfload, use of<br>
<br>
        \font\testfont="STIX Two Text"<br>
        \font\testfont="STIX Two Text Medium"<br>
<br>
works and gets the fonts from TeX Live, while<br>
<br>
        \font\testfont="[STIXTwoText.ttf]"<br>
        \font\testfont="[STIXTwoText.ttf]:instance=medium"<br>
<br>
gets the font from macOS. Similarly<br>
<br>
        \fonttest{STIX Two Text Italic}<br>
        \fonttest{STIX Two Text Medium Italic}<br>
<br>
for TL becomes<br>
<br>
        \fonttest{[STIXTwoText-Italic.ttf]}<br>
        \fonttest{[STIXTwoText-Italic.ttf]:axis={weight=medium}}<br>
<br>
for macOS (for some reason instance= doesn't work in this latter case). See the attached test file.<br>
<br>
So I was wondering whether the same could be achieved with XeTeX.<br>
<br>
The question is futile regarding STIX Two (the fonts in TeX Live are perfectly fine). But this was my first encounter with variable OpenType fonts ever in the real world, and I imagine the use of such fonts will become more widespread as time goes.<br>
<br>
Bruno Voisin<br>
<br>
PS Please cc possible answers to me, as I'm no longer subscribed to the list.<br>
<br>
<br>
<br>
<br>
</blockquote></div></div>