# TeX Live 2019 and Hoefler Text features

Herbert Voss Herbert.Voss at fu-berlin.de
Sun Jun 23 16:49:47 CEST 2019


Am 23.06.19 um 11:46 schrieb Mark Porter:
> I posted about an issue I’ve been experiencing since updating to TeX Live 2019 on stackexchange and it was suggested that I should raise the issue here.
>
> Since updating I am finding that Hoefler Text features which previously worked find in TeX Live 2018 no longer work. Problems with contextual alternates may well be due to my poor coding, however the major problem I am encountering is with small caps.
>
> I now receive the warning "LaTeX Font Warning: Font shape TU/HoeflerText(1)/m/sc' undefined (Font) using
> TU/HoeflerText(1)/m/n' instead on input line 6.”
>
> I am unsure why this is broken since the upgrade. If I switch to Gentium as the document font then the problem seems to go away.

The following works for me.

Herbert

|\documentclass{article}\usepackage{fontspec}\setmainfont{HoeflerText-Roman.otf}[BoldFont
=HoeflerText-Bold.otf, BoldFeatures ={SmallCapsFont
=HoeflerText-BoldSC.otf}, ItalicFont =HoeflerText-RegularItalic.otf,
ItalicFeatures ={SmallCapsFont =HoeflerText-RegularItalicSC.otf},
BoldItalicFont =HoeflerText-BoldItalic.otf, BoldItalicFeatures
={SmallCapsFont =HoeflerText-BoldItalicSC.otf}, SmallCapsFont
=HoeflerText-RomanSC.otf, ]\begin{document}foo
\textsc{Weather}\bfseriesfoo \textsc{Weather}\itshapefoo
\textsc{Weather}\mdseriesfoo \textsc{Weather}\end{document}|