Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small caps in Hoefler Text not working since TexLive 2019 #441

Open
4 tasks done
morberg opened this issue Mar 18, 2021 · 0 comments
Open
4 tasks done

Small caps in Hoefler Text not working since TexLive 2019 #441

morberg opened this issue Mar 18, 2021 · 0 comments

Comments

@morberg
Copy link

morberg commented Mar 18, 2021

Description

Small caps support for the macOS provided variant of Hoefler Text stopped working with TexLive 2019.

Check/indicate

  • Relevant for XeTeX
  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if appropriate

https://tex.stackexchange.com/questions/495901/texlive-2019-and-hoefler-text-features

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Hoefler Text}
\begin{document}
\textsc{Small caps}
\end{document}

Further details

TeXLive 2018

Using TexLive 2018 (with fontspec 2.6g) the above example works fine with xelatex and produces small caps in the PDF document.

Lualatex does not work and reports:

LaTeX Font Warning: Font shape `TU/HoeflerText(0)/m/sc' undefined
(Font)              using `TU/HoeflerText(0)/m/n' instead on input line 13.

[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./hoefler.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

TeXLive 2020

When using TexLive 2020 (with fontspec 2.7i) neither xelatex nor lualatex works (I have not verified that it is broken in TexLive 2019 but trust the stackoverflow comments). By manually adding the missing font shape:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Hoefler Text}
\DeclareFontShape{TU}{HoeflerText(0)}{m}{sc}%
       {<-> "Hoefler\space Text:Letter\space Case=Small\space Caps"}{}
\begin{document}
\textsc{Small caps}
\end{document}

small caps works with xelatex again.

This also stops lualatex from producing an error, but the resulting document does not contain small caps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant