MacTeX 2016의 XeLaTeX 글꼴 문제

MacTeX 2016의 XeLaTeX 글꼴 문제

코드를 고려해보세요

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\documentclass[11pt]{book}
\usepackage{unicode-math}
\setmainfont [Ligatures=TeX]     {TeX Gyre Pagella}
\setmathfont [Scale=1.05]          {Latin Modern Math} 
\setmathfont [range=\mathbb]    {TeX Gyre Pagella Math}

\def\csdef #1{\expandafter\def\csname#1\endcsname}
\def\foo #1{\mathop{\mathcal{#1\kern 0pt }}\nolimits}
\def\Newfunction #1#2{\csdef{#1}{\mathop{\mathrm {\rm #2}\kern 0pt}\nolimits}}

\def\bor {\mathcal{B}\mathit{or}}
\Newfunction{Bor}{\mathcal{B}\mathit{or}}
\Newfunction{Imp}{\mathcal{I}\mkern -2mu \textit{mp}}

\parskip 5pt 

\begin{document} 
1) $\foo{B} + \foo{I}$ \par 
2) $\bor+\Bor$ \par
3) $\Imp$ \par
4) $\bigl((  \quad )\bigr)$ \par
\end{document}

XeTeX 버전 3.14159265-2.6-0.99992(TeX Live 2015)를 사용하면 항목 4의 \big을 제외하고 모두 괜찮습니다.

여기에 이미지 설명을 입력하세요

XeTeX 버전 3.14159265-2.6-0.99996(TeX Live 2016)을 사용하면 항목 2, 3에서 수학 기호가 사라집니다.
항목 4에서는 \big이 너무 작아서 괄호 사이에 공백이 추가됩니다.

여기에 이미지 설명을 입력하세요

왜 항목 1이 항상 맞는지 아직도 이해가 안 되네요...

컴퓨터: MacMini late 2012 + Mac OSX El Capitan 10.11.5

답변1

@egreg 의 버그를 보고해 주셔서 감사합니다 unicode-math. 이제 두 가지 문제가 해결되었습니다.

관련 릴리스는 2018-02-01의 v0.8l입니다.

관련 정보