latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

No ligatures in mathbf, mathit, etc (regression?) #547

Open xsrvmy opened 4 years ago

xsrvmy commented 4 years ago

Description

In the latest versions of unicode-math, the "ff" ligature no longer works in mathbf, mathit, etc. Notably this affects custom operator names.

Add info or delete as appropriate:

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathrm{Latin Modern Roman}

\begin{document}
$\mathbf{ff}\mathit{ff}\mathrm{ff}$
$\textbf{ff}\textit{ff\/}\textrm{ff}$
\end{document}

Further details

The following is the output of version 0.8n 2019/02/15 image

The following is the output of version 0.8d 2017/01/27 (this produces bug #330) image

wspr commented 4 years ago

Thanks for reporting this. The behaviour here is a recurring issue. I need to address this properly and then document the behaviour — from memory last time I looked into it there wasn’t a simple solution.

xsrvmy commented 4 years ago

For additional information, the working version was created with TexLive 2017 on overleaf. The non-working version of created with both TexLive 2018 and 2019