[XeTeX] Colours are ignored with fontspec

Andrew Moschou andmos at gmail.com
Mon Sep 27 14:10:42 CEST 2010


Hi Will and others,

I don't recall this being reported here before now. Colours are ignored when
a fontspec font is selected. See attached. My fontspec version is 2.1.

\documentclass[a4paper,12pt]{article}

\usepackage{fontspec}
\usepackage{xcolor}

\begin{document}

{Is this black? \color{red} Is this red?}

{\fontspec{STIXGeneral}Is this black? \color{red} Is this red?}

{Is this black? \color{red} Is this red?}

\end{document}

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100927/c71deb45/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b.pdf
Type: application/pdf
Size: 6546 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100927/c71deb45/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b.log
Type: text/x-log
Size: 20135 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100927/c71deb45/attachment-0001.bin>


More information about the XeTeX mailing list