[XeTeX] line spacing
Jonathan Kew
jonathan_kew at sil.org
Mon Mar 7 16:38:41 CET 2005
On 7 Mar 2005, at 3:28 pm, Yves Codet wrote:
> Hello.
>
> I'm still trying to adjust parameters with Zapfino. I noticed
> something in a log file about which I'd like to inquire:
>
> % deleted
> [2]
>
> LaTeX Font Warning: Font shape `U/Zapfino+scale:0.66+18,0+21,0/bx/n'
> undefined
> (Font) using `U/Zapfino+scale:0.66+18,0+21,0/m/n' instead
> on input
> line 15.
>
>
> Underfull \vbox (badness 10000) has occurred while \output is active
> [3]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [4]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [5]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [6]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [7]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [8]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [9]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [10]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [11]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [12]
> % deleted
>
> In "scale:0.66+18,0+21,0", "0.66" is the result of my command
> "\setromanfont[Scale=0.66]{Zapfino}". What are the other two values
> (line spacing and...)? Is it possible to modify them with a command
> such as "\setromanfont[Scale={0.66,18.0,21.0}]{Zapfino}" (with
> different values, of course, since I'm trying to remove all those
> "Underfull \vbox..." and to get a nice display of the text)?
>
The 18,0 and 21,0 look to me like they're the numeric values of some
font features that you've probably specified (or that fontspec has set
by default).
Regarding line spacing and underfull vbox messages: I would guess that
you need to either allow some flexibility in the interline and/or
interparagraph spacing (e.g, give \baselineskip, \lineskip, and
\parskip some stretchability), or else tell LaTeX that you want
\raggedbottom pages. Underfull boxes are a consequence of not enough
flexibility in the vertical spacing, and lines that don't happen to
exactly fill the page size.
JK
More information about the XeTeX
mailing list