[XeTeX] Problem with defining BoldFont

Mi CHEN chenmi1999 at gmail.com
Tue Apr 21 02:18:28 CEST 2009


try fc-list and grep what u want, u will see the full name of matched
entries.

On Tue, Apr 21, 2009 at 7:12 AM, Hooman Javidnia
<hooman.javidnia at gmail.com>wrote:

> Thanks Jonathan. Solved my problem. But now I have another question:
> How can I figure out what is the exact name of the font to be used in
> xetex?
>
> Cheers,
> Hooman
>
> On Mon, Apr 20, 2009 at 6:37 PM, Jonathan Kew <jfkthame at googlemail.com>
> wrote:
> > On 20 Apr 2009, at 23:27, Hooman Javidnia wrote:
> >
> >> Hello list,
> >> Here is a minimal example of what I have been trying to do and it
> >> doesn't work. All I need is to replace the bold face of the main font
> >> with SemiBold variant. I get an error message than I can't decipher. I
> >> have tried different things according to fontspec manual, but none
> >> worked for me.
> >>
> >> I would appreciate if somebody can tell me what is going wrong in
> >> here:
> >>
> >> \documentclass{article}
> >> \usepackage[no-math]{fontspec}
> >> \usepackage{xunicode}
> >> \usepackage{xltxtra}
> >> \defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase}
> >> \setmainfont[BoldFont={* SemiBold}]{Arno Pro}
> >
> > Isn't the face called "Semibold", not "SemiBold"? I would expect this
> > to be case sensitive; most things are.
> >
> > If it complains it can't find your font, carefully checking the name
> > is always a good idea.
> >
> > JK
> >
> > _______________________________________________
> > XeTeX mailing list
> > postmaster at tug.org
> > http://tug.org/mailman/listinfo/xetex
> >
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>



-- 
Regards,
Mi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090421/8fcd89e9/attachment.html 


More information about the XeTeX mailing list