[XeTeX] The \fontspec commad's option "ExternalLocation" can'tcoexist with "BoldFont" or "ItalicFont" option ?
moneylcj
moneylcj at foxmail.com
Sun Feb 22 06:07:09 CET 2009
I found the BoldFont and Regular font all must be installed-font or all must to be uninstalled-font.
In my OS "SimHei" is installed-font , "e:\moneylcj\font\fzboyasong.ttf" and "e:\moneylcj\font\fzltxh.ttf" is uninstalled-font.
this section has no error:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec[ExternalLocation={e:/moneylcj/font/}, BoldFont={fzltxh.ttf}]{fzboyasong.ttf}
regular \textbf{bold}
\end{document}
but this section has error:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec[ExternalLocation={e:/moneylcj/font/}, BoldFont={SimHei}]{fzboyasong.ttf}
regular \textbf{bold}
\end{document}
------------------ Original ------------------
From: "Will Robertson"<wspr81 at gmail.com>;
Date: Sun, Feb 22, 2009 01:06 PM
To: "xetex"<xetex at tug.org>;
Subject: Re: [XeTeX] The \fontspec commad's option "ExternalLocation" can'tcoexist with "BoldFont" or "ItalicFont" option ?
On 2009-02-22 00:19:15 +1030, "moneylcj"
<moneylcj at foxmail.com> said:
> \fontspec[BoldFont={Book
> Antiqua},ExternalLocation={e:/moneylcj/font/}]{fzboyasong.ttf}
Please supply a minimal example; this example works for me:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec[ExternalLocation=/Users/Will/Fonts/Luxi/,
BoldFont=luxirb.ttf]{luxirr.ttf}
regular \textbf{bold}
\end{document}
Will
_______________________________________________
XeTeX mailing list
postmaster at tug.org
http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090222/ad1c0c87/attachment-0001.html
More information about the XeTeX
mailing list