[XeTeX] XeTeX, fontspec, OTF, and fontdimens

Vadim Radionov vadim.radionov at gmail.com
Sun Feb 27 15:00:19 CET 2011


Hi Will,

Yes, the patch works in my tests.  Concerning changing of WordSpace locally:
i can do in a line with some other "change": consider

some context {\addfontfeature{LetterSpace={0},WordSpace={5}} way too
stretched} some context again.

Probably that's because invoking other feature uses another instance of the
same font, which can have different fontdimens -- but that's exactly what i
want.

Yours,
Vadim

On Sun, Feb 27, 2011 at 2:49 PM, Will Robertson <wspr81 at gmail.com> wrote:

> On 27/02/2011, at 8:12 PM, Vadim Radionov wrote:
>
> > But still there are things to be improved.  If i want to change WordSpace
> locally, I have to add
> > some other dummy feature (say, LetterSpace=0), or this change of
> inter-word space will be applied globally to the current font.
>
> Hi Vadim,
>
> Thanks for the comments. Have you tried the patch? Does it work?
>
> Unless I'm mistaken, it's not possible to change WordSpace locally because
> of the way (Xe)TeX optimises its font loading -- changing a \fontdimen is
> always a global operation.
>
> Cheers,
> -- Will
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110227/3b737c1b/attachment.html>


More information about the XeTeX mailing list