[XeTeX] Problem changing default fonts
Khaled Hosny
khaledhosny at eglug.org
Sun Oct 3 16:26:08 CEST 2010
On Sun, Oct 03, 2010 at 11:23:05AM +0200, Drébon wrote:
> On 03/10/2010 10:07, Peter Dyballa wrote:
> >This should not be too complicated...
> >
> > \ifxetex
> ><font setup for XeTeX use>
> > \fi
> > \ifpdf
> ><font setup for pdfTeX use>
> > \fi
> > \textsc{Small or Big Caps?}
> >
>
> Well as far as I understand this, this is a simple way for secifying
> font configuration with for xetex or pdftex automatically.
>
> My current problem is that the Tex Gyre *** fonts have no small caps.
They have, all Tex Gyre fonts (AFAIK) have small caps:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Heros}
\begin{document}
Text \textsc{Small Caps}.
\end{document}
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the XeTeX
mailing list