LuaTeX 和 XeTeX 报告 Libertinus 字体中缺少的字符

LuaTeX 和 XeTeX 报告 Libertinus 字体中缺少的字符

这里是使用 Libertinus Serif 字体的 MWE,它具有输入的字形,但 XeLaTeX 和 LuaLaTeX 都报告:“缺少字符:Libertinus Serif 字体中没有 ➌”:

\documentclass{minimal}

\usepackage{fontspec}
\setmainfont{Libertinus Serif}

\begin{document}
This char is missing: (^^^^278d)\par
This is also missing: (^^^^278c)\par
This char is not: (^^^^24ea)\par
\end{document}

我的输出是:

lualatex 输出

我的日志文件报告:

Missing character: There is no ➍ in font Libertinus Serif/OT:script=latn;language=DFLT;mapping=tex-text;!
Missing character: There is no ➌ in font Libertinus Serif/OT:script=latn;language=DFLT;mapping=tex-text;!

但是,正如您在下面看到的,这些字形存在于 Libertinus Serif 字体中:

魅力图

知道哪里出了问题吗?

答案1

使用

\documentclass{minimal}

\usepackage{fontspec}
\setmainfont{Libertinus Serif}
\newfontfamily\LibSans{Libertinus Sans}

\begin{document}
    This char is present: (^^^^2779)\par
    This is also present: (^^^^277a)\par
    This char is present: (^^^^24ea)

\LibSans
    This char is present: (^^^^2779)\par
    This is also present: (^^^^277a)\par
    This char is present: (^^^^24ea)

\end{document}

在此处输入图片描述

相关内容