xelatex引擎调用系统字体
来源:互联网 发布:怎么样成为淘宝客 编辑:程序博客网 时间:2024/06/07 05:04
由于TEX文件中用到了本地操作系统字库,所以用XeLaTeX编译,发现缺少某些字体
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "[KaiTi]" cannot be found. ! ! See the fontspec documentation for further information. ! For immediate help type H <return>. !...............................................怎么解决呢?下面是步骤:
1.首先,下载相应字体,如OpenType 字体文件 (.otf)、 TTF (.TTF)等
2.打开控制面板->字体,将字体文件拖进去,如下图:
这样字体就安装成功了。
再次用XeLaTeX编译,发现不能生成DVI或PDF:
<span style="font-size:18px;">** WARNING ** Obsolete four arguments of "endchar" will be used for Type 1 "seac" operator.** ERROR ** This font using the "seac" command for accented characters...Output file removed. )(see the transcript file for additional information)Error 1 (driver return code) generating output;</span>
Google上查了好久,貌似这是xelatex引擎的一个bug,无奈,我删除了所有指定本地操作系统的字体的语句,例如
{\fontspec{Inconsolata} Inconsolata}
再次编译,发现正常了。
后来发现不是这儿的问题,问题之处在这儿
\begin{itemize}\item[] {\small \fontspec{Latin Modern Mono} printf("Hello \%s\<span style="font-family: Arial, Helvetica, sans-serif;">\textbackslash </span> n", name);} [cmtt]\item[] {\small \fontspec[Mapping=tex-text-tt]{Inconsolata} printf("Hello \%s\textbackslash n", name);} [Inconsolata]\end{itemize}第二行的“;”挪到字体外边(不知道为什么第一条就不用挪位置),就可以了。不明白为什么会出现那样的错误。修改后如下:
\begindot\item[] {\small \fontspec{Latin Modern Mono} printf("Hello \%s\textbackslash n", name);}[cmtt]\item[] {\small \fontspec[Mapping=tex-text-tt]{Inconsolata} printf("Hello \%s\textbackslash n", name)};[Inconsolata]\myenddot
1 0
- xelatex引擎调用系统字体
- xeLaTex调用系统字体
- XeLaTeX编译CTEX报系统字体错误
- xelatex字体
- xelatex使用从windows拷过来的系统字体
- xelatex 字体问题
- KlayGE引擎的字体系统
- xelatex 中文排版与字体更换
- CSS怎么调用系统没有的字体
- 外部系统调用规则引擎接口
- 接上外部系统调用规则引擎接口
- 外部系统调用规则引擎接口
- 外部系统调用规则引擎接口
- FreeType字体引擎介绍
- 字体渲染 渲染引擎
- Ubuntu安装texlive2012以及xelatex下使用Windows自带字体
- 2013-12-11调用系统API的ChooseFont字体设置
- c# asp.net 调用系统设置字体文本框
- Unit 3: Verbs
- java.sql.date 跟java.util.date的区别 和怎么在oracle数据库中显示时分秒
- 重装VS2013之后加载opencv项目失败
- 全排列(permutations)
- 备考ocp_ORACLE专题之网络
- xelatex引擎调用系统字体
- Unit 3: Tense, Agreement, Voice; Terminal Punctuation
- 数字在计算机中的表示(原码、反码、补码)个人备忘
- APMserv常见问题
- [HeadFirst] try-catch-finally
- 堆内存和栈内存详解
- 谈谈PBOC3.0中使用的国密SM2算法
- Unit 4: Reading
- LeetCode-Substring with Concatenation of All Words