[XeTeX] Font nuisances

David Perry hospes.primus at verizon.net
Mon Oct 11 05:05:37 CEST 2010



On 10/10/2010 5:00 PM, Gareth Hughes wrote:

> I'm not sure that thinking about the point size in absolute terms is all
> that useful. If the body text is at 12pt, then something that is at 60pt
> is five times bigger. I would use \addfontfeature{Scale=5} for a single
> line of text, like a title. Otherwise, the package anyfontsize will
> allow \fontsize{60pt}{66pt} to work.
I use Scale=MatchLowercase all the time, but had not picked up on this 
use of Scale before--thanks.  I like thinking this way, although exact 
point values might be useful in some circumstances too (and they work if 
you add \selectfont, as Alan and Pete pointed out).
>
>>
>> 2. Can anybody see what is wrong with the following?
>>
>> \fontspec[BoldFont={Bergamo Std},ItalicFont={Bergamo
>> Std},BoldItalicFont={Bergamo Std}]{Cardo}
>
> Yeah, you just declared the medium, upright font as bold and italic.
> What you need is
>
> \fontspec[BoldFont={Bergamo Std-Bold}, ItalicFont={Bergamo Std-Italic},
> BoldItalicFont={Bergamo St-BoldItalic}]{Cardo}
>
I don't think so.  See example 4 in the most recent fontspec manual, 
from which I copied this:

\fontspec[BoldFont={Helvetica Neue}]{Helvetica Neue UltraLight}

which makes Helvetica Neue act as the "bold" for Helvetica Neue Ultralight.

David



More information about the XeTeX mailing list