[XeTeX] WordSpace question
Vadim Radionov
vadim.radionov at gmail.com
Sun Dec 27 21:40:41 CET 2009
Dear list members,
Can you explain me the rules for WordSpace (and the effect that, I suppose,
contradicts 5.4 of fontspec manual)?
Is it possible to set different word spacing for different sizes with
SizeFeatures? (I failed).
Vadim
% -*- tex-command: "xelatex" -*-
\documentclass{minimal}
\usepackage{polyglossia}
\setmainfont{Garamond Premier Pro}
\def\test{\qquad Space: \the\fontdimen2\font;
Stretch: \the\fontdimen3\font;
Shrink: \the\fontdimen4\font\par}
\def\TEST{\fontsize{10}{12pt}\selectfont
This is a test \test\par
\fontsize{12}{14pt}\selectfont
This is a test \test}
\begin{document}
{\TEST}
{\addfontfeature{WordSpace={1,1,1}} \TEST}
{\addfontfeature{WordSpace=1} \TEST}
\end{document}
[This is XeTeX, Version 3.1415926-2.2-0.9994.1 (Web2C 7.5.6)]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20091227/fbe5e969/attachment.html>
More information about the XeTeX
mailing list