[XeTeX] XeTeX, fontspec, OTF, and fontdimens

Ulrike Fischer news3 at nililand.de
Sat Feb 19 18:04:23 CET 2011


Am Sat, 19 Feb 2011 10:48:51 -0600 (CST) schrieb
mskala at ansuz.sooke.bc.ca:

> On Sat, 19 Feb 2011, Ulrike Fischer wrote:
>> I would say WordSpace shouldn't be used in  \defaultfontfeatures.
> 
> Moving the WordSpace setting to the font-loading command and eliminating
> \defaultfontfeatures doesn't change the behaviour.  The space still
> doesn't scale when the size changes as it would for a non-OTF font.

Yes, as I said size changes doesn't reload a font. WordSpace
shouldn't be used as a "default" feature.

> If XeTeX could correctly recognize when an OTF font is monospace, then it
> wouldn't be necessary to use WordSpace at all.  The reason for using it is
> that the default stretchable word space is inappropriate for a monospace
> font, and that's where the monospace aspect of my situation becomes
> relevant. 

If your monospaced font has stretchable word space then simply reset
\fontdimen3 + \fontdimen4. 


-- 
Ulrike Fischer 



More information about the XeTeX mailing list