[XeTeX] XeTeX + Helvetica Condensed Light
Andy Lin
kiryen at gmail.com
Thu Apr 14 16:28:07 CEST 2011
Check the output of fc-list and see if the font name matches. (On a
windows machine I do fc-list>fontlist.txt , I don't know about macs).
For example (I don't have Helvetica), if I look in fontlist.txt, I see
the following line.
Helvetica Neue LT Std,HelveticaNeueLT Std Lt Cn:style=47 Light Condensed,Regular
Which means in order to use this font, I'd have to type in:
\setmainfont[Mapping=tex-text]{Helvetica Neue LT Std 47 Light Condensed}
Which is the first name given, and the style, up to the first comma.
HTH
-Andy
On Tue, Apr 12, 2011 at 20:24, André Bellaïche <abellaic at math.jussieu.fr> wrote:
> Hi !
>
> Does anybody understand why
>
> \usepackage{xunicode,fontspec}
> \setromanfont[Mapping=tex-text]{Helvetica Narrow}
>
> works while
>
> \usepackage{xunicode,fontspec}
> \setromanfont[Mapping=tex-text]{Helvetica Condensed Light}
>
> gives an error :
>
> ** ERROR ** Invalid font: -1 (0)
>
> Output file removed.
> )
> (see the transcript file for additional information)
> Error 256 (driver return code) generating output;
>
> ?
>
> The log file says:
>
> LaTeX Font Info: Try loading font information for OT1+HelveticaCondensedLigh
> t(0) on input line 34.
> LaTeX Font Info: No file OT1HelveticaCondensedLight(0).fd. on input line 34.
>
> LaTeX Font Info: Font shape `OT1/HelveticaCondensedLight(0)/m/n' undefined
> (Font) using `OT1/cmr/m/n' instead on input line 34.
>
> The Font book says I have both Helvetica Narrow and Helvetica Condensed Light on my Mac.
>
> I use TeXShop + pdftex.
>
> André Bellaïche
>
> P.S. Helvetica Narrow doesn't work so well. If I type 'é', I get the accent in white on the top-left stroke of the 'e', so I must type \'{e}instead, which gives a rather big accent: when typing Tél. (for Téléphone), the accent rises higher than the capital T.
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list