[XeTeX] Problem with defining BoldFont

Hooman Javidnia hooman.javidnia at gmail.com
Tue Apr 21 01:12:02 CEST 2009


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
>


More information about the XeTeX mailing list