[XeTeX] fontspec bug

Nicolas Vaughan nivaca at gmail.com
Thu Sep 17 17:42:49 CEST 2009


I think that when you run a \textrm command or a \rmfamily declaration, this
calls the default document font.
Since you haven't declared one, XeLaTeX chooses the CM type.

Cheers!

Nicolas Vaughan



On Thu, Sep 17, 2009 at 10:18 AM, Vafa Khalighi <vafa at users.berlios.de>wrote:

>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \documentclass{minimal}
> \usepackage[no-math]{fontspec}
> \newfontfamily\test{Junicode}
> \AtBeginDocument{\test}
> \begin{document}
> This is a test. 1023 \textbf{0123} \textit{0123} \textrm{0123 This is a
> test.}
> \end{document}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
> Should not whatever is inside \textrm{...} also appear in Junicode font?
> but it is not.
> --
> Vafa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090917/b2bfdf65/attachment.html>


More information about the XeTeX mailing list