[XeTeX] XeLaTeX 0.993, fontspect.sty 1.9a and Gray Letters

Herbert Schulz herbs at wideopenwest.com
Sat Jun 3 16:16:13 CEST 2006


Howdy,

I just installed the latest i-installer update of XeTeX and was  
running through some of the sample files. Here is a file that seems  
to unexpectedly put some fonts in gray. It is based on the fontspec- 
example.tex file. If I remove the minipage (in blue text) all is well.

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{color}
\usepackage{fontspec}
\usepackage{xunicode}
\defaultfontfeatures{Scale=MatchLowercase ,Mapping=tex-text}
\setromanfont[Numbers=Lining,Scale=1.05]{Hoefler Text}
\setsansfont{Gill Sans}
\setmonofont{Verdana}

\begin{document}
\pagestyle{empty}
\begin{minipage}{0.4\textwidth}\Large\raggedright
\fontspec[%
     Colour           = 0000CC,
     Numbers          = OldStyle,
     VerticalPosition = Ordinal,
     Variant          = 2
          ]{Apple Chancery}
My 1st example of Apple Chancery
\end{minipage}
\vspace{\baselineskip}

The default roman, sans serif, and typewriter fonts may be set with  
the \verb|\setromanfont|, \verb|\setsansfont| and \verb|\setmonofont|  
commands, respectively. They take the same syntax as the \verb| 
\fontspec| package. All expected font shapes are available:
\pagestyle{empty}
\begin{quote}
{\scshape Small caps and \itshape small caps italic\dots}\\
{\sffamily\bfseries bold sans serif and \itshape bold italic sans  
serif\dots}
\end{quote}
\end{document}

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)




More information about the XeTeX mailing list