[XeTeX] Line-breaking algorithms in XeTeX
John Was
john.was at ntlworld.com
Mon Apr 27 22:38:15 CEST 2009
Dear Jonathan
In the sample paragraph I sent you I neglected to say that I also use 1.5
letter-spacing when I use the font. The actual font call is:
\font \umirtenpointtwofive =
"MinionPro-Regular:+onum:mapping=tex-text:letterspace=1.5" at 10.25pt
Could that be the culprit?
Best
John
----- Original Message -----
From: "Jonathan Kew" <jfkthame at googlemail.com>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
Sent: Monday, April 27, 2009 2:38 PM
Subject: Re: [XeTeX] Line-breaking algorithms in XeTeX
> Hi John,
>
> On 27 Apr 2009, at 00:37, John Was wrote:
>
>> Hello Jonathan
>>
>> I couldn't think of a way of providing a test case - I could
>> obviously show
>> a PDF with the overfull rule when \looseness is -1 and without the
>> overfull
>> rule (with the paragraph a line longer) when \looseness is set to 0
>> or 1,
>> but that wouldn't be helpful. The font is MinionPro, and in all
>> sizes I
>> have the \spaceskip set thus:
>>
>> \spaceskip 0.25em plus 0.25em minus 0.075em
>
> In general, if you want to adjust the word-spacing behavior, I'd
> recommend using the font's \fontdimen parameters (or fontspec's
> WordSpace option, for xelatex users) to control it on a per-font/size
> basis rather than setting \spaceskip, which will apply the same
> spacing to all fonts and sizes as long as it's in effect. But that's
> an aside...
>
>
>> This seems to produce satisfactory results in the \hsize and
>> typesizes that
>> I work with. But it shouldn't generate this problem, I think, and
>> certainly
>> not my situation (2), where the sole difference is whether there is
>> a \vfill
>> \eject or \vskip between items.
>
> I agree that the behavior you've described sounds wrong, but it's hard
> to diagnose exactly what's going on unless I can experiment with an
> example document that shows the problem. :(
>
> I'm curious whether it is somehow related to the use of \spaceskip,
> actually, although I can't think of a specific reason why that should
> go wrong.
>
> JK
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list