[XeTeX] Fontspec question win32

jropers@freesurf.fr jropers at freesurf.Fr
Sun Jul 23 09:10:03 CEST 2006


Thanks.
I have read the manual. It is well very written and have no particular 
suggestion for improvement. It was not clear to me though that Truetype 
and type 1 fonts are actually supported. May be you could make a note 
about it.

Now I try again with Warnock Pro (an opentype font in order not to add 
another complexity level)

I would like to make the Semibold font the default for \bfseries.
fc-list (after fc-cache -f -v) under win32 gives me the following 
information :

Warnock Pro SmBd,Warnock Pro:style=Regular,Semibold

\setromanfont[Mapping=tex-text]{Warnock Pro} OK, no substitution works 
as expected

-> Now I try to define the default bold font :

\setromanfont[Mapping=tex-text]{Warnock Pro}
\fontspec[BoldFont = {Warnock Pro SmBd Regular Semibold}]{Warnock Pro}

gives the following error message :

(c:/xetex/share/texmf/tex/xetex/xelatex/fontspec/fontspec.cfg))
! Font \@tempfontb="Warnock Pro SmBd Regular Semibold" at 10.95pt not 
loadable:
 installed font not found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
                                                  \edef \@tempb 
{\fontname \...
l.27 ...k Pro SmBd Regular Semibold}]{Warnock Pro}

The same error for :
\setromanfont[Mapping=tex-text]{Warnock Pro}
\fontspec[BoldFont = {Warnock Pro SmBd}]{Warnock Pro}


And again the same error with :
\setromanfont[Mapping=tex-text]{Warnock Pro}
\fontspec[BoldFont = {Warnock Pro Regular Semibold}]{Warnock Pro}

Am I doing something wrong ?

Regards,

Jacques.

Will Robertson wrote:
> On 23/07/2006, at 2:04 , jropers at freesurf.fr wrote:
>
>> I have a question relating to Fonspec: is it possible to specify which
>> font should be used as the italic/bold/sc form when the name itself is
>> not fully explicit ? As an example to clarify the question how to
>> specify one of the 2 fonts as the italic form :
>> -Scala Sans:style=Regular Italic
>> -Scala Sans:style=Light Italic
>> (info obtained with fc-list under win32, type 1 fonts)
>
> I don't know this fc-list thing, but I'd expect
>   \fontspec[ItalicFont=Scala Sans Light Italic]{Scala Sans Light}
> to work. Is this what you mean?
>
> This is all covered in the manual; if you've got suggestions on how it 
> could be better organised, please let me know.
>
> Will
> ------------------------------------------------------------------------
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>   



More information about the XeTeX mailing list