[XeTeX] Problem with defining BoldFont
Jonathan Kew
jfkthame at googlemail.com
Tue Apr 21 00:37:39 CEST 2009
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
More information about the XeTeX
mailing list