我最近升级到了 Ubuntu Vivid,这破坏了我系统上的 XeLaTeX 渲染。只有特定字体的\textbf{}
和\textit{}
受到影响。字符表似乎偏离了一个。我使用 TeXworks。
例如:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Nimbus Roman No9 L}
\begin{document}
ABC \textbf{DEF} \textit{GHI}
\end{document}
结果是
XeTeX 版本为 3.14159265-2.6-0.99992(TeX Live 2015/dev/Debian)(预加载格式=xelatex 2015.4.27)。
这是我启用文件列表日志记录后获得的文件列表:
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
fontspec.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
expl3.sty 2014/09/15 v5423 L3 programming layer (loader)
expl3-code.tex 2014/09/15 v5423 L3 programming layer
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3unicode-data.def 2014/08/12 v5276 L3 Unicode data
l3xdvipdfmx.def
xparse.sty 2014/09/15 v5423 L3 Experimental document command parser
fontspec-patches.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
fontspec-xetex.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many other characters in Unicode lower plane
eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
graphicx.sty 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/05/08 v1.15 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
xetex.def 2014/07/25 v4.03 LaTeX color/graphics driver for XeTeX (RRM/JK)
fontspec.cfg
t3cmr.fd 2001/12/31 TIPA font definitions
执行字体跟踪(\XeTeXtracingfonts=1
在源中设置并执行xelatex --no-pdf file
和xdvipdfmx -vv file.xdv
)可得出
Requested font "Nimbus Roman No9 L/B/OT:mapping=tex-text;mapping=tex-text;" at 10.0pt -> /usr/share/fonts/type1/texlive-fonts-recommended/utmb8a.pfb
来自 XeTeX 和
pdf_font>> Type0 font "/usr/share/fonts/type1/texlive-fonts-recommended/utmb8a.pfb" cmap_id=<Identity-H,0> opened at font_id=</usr/share/fonts/type1/texlive-fonts-recommended/utmb8a.pfb/0/H/65536/0/0,1>..
从xdvipdfmx
。
发生了什么事?我该如何解决?