2

I just updated my system to use TexLive 2019 and, since the update, some of the features that were previously working for Hoefler Text don't seem to work any more.

I have problems with alternate glyphs, which may be down to my poor coding, but my biggest problem is with smallcaps. I now get the following error, and it resorts to standard case in the compiled PDF. This doesn't seem to be the case with other fonts that I've tried. I should note that I'm doing this in XeLaTex.

"LaTeX Font Warning: Font shape TU/HoeflerText(1)/m/sc' undefined (Font)
using
TU/HoeflerText(1)/m/n' instead on input line 6."

Are there any reasons why this would be failing now, when it had previously functioned ok prior to the update? Is there an easy fix?

  • 3
    I can confirm that \textsc{something} fails for TrueType Hoefler Text, as well as 'Palatino', another TrueType Apple font. This is broken in TL2019, though works correctly in TL2017 and TL2018. – sgmoye Jun 15 at 16:47
  • 3
    You might report this at tex-live@tug.org to see if anyone there has information. (It hasn't been reported there yet, to the best of my knowledge.) – barbara beeton Jun 15 at 19:04
  • 1
    What happens if you do \font\test="Arial/OT:script=latn;language=DFLT;+smcp;mapping=tex-text;" \test Abc (replace Arial/OT by your font name, probably HoeflerText/OT or something like that, you find it in the log). Do you then get small caps? – Ulrike Fischer Jun 16 at 9:16
  • Yes! That seems to work – Mark Porter Jun 16 at 13:04
  • Does that command load the font differently in some way? – Mark Porter Jun 16 at 13:23
2

I have no problem with an up-to-date TL2019 and

\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}
\bfseries
foo \textsc{Weather}
\itshape
foo \textsc{Weather}
\mdseries
foo \textsc{Weather}

\end{document}

enter image description here

  • Is that new that the small caps are in their own font file? – Ulrike Fischer Jun 23 at 16:05
  • I don't think the OTF is the version that's distributed with MacOS though - my system comes with a TTF version installed (which used to work), and no sign of an OTF file... – Mark Porter Jun 23 at 18:14
  • I have two Hoefler Fonts, the original "Hoefler Text.ttc" and the ones used in my example. And yes, they have own SC files. DonÄt know why... – user187802 Jun 23 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.