[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several suggestions for image support

From: David Kastrup
Subject: Re: Several suggestions for image support
Date: 23 Apr 2004 02:51:30 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Kenichi Handa <address@hidden> writes:

> I think the height of the space glyph for the tailing
> newline should be the default frame line height in the above
> case, and the line height must be desided by all glyphs
> including the tailing space.

You are confusing line spacing and line height, I think.  Line
spacing is the distance by which the _baselines_ of different lines
are to be set apart unless this could cause overlap.  So I think that
the space between two baselines should be

max(line space of newline, max(all glyph depths of upper line,0)
                          +max(all glyph heights of lower line,0))
where depth is the extent of a glyph below the baseline, and the
height is the extent above.

We could discuss whether it makes sense to use a maximum value of
more than the just the line spacing of the newline character (maybe
of the whole lower line?), but if we do, then the parameter "line
spacing" should be the same for a complete face (including newline
and spaces), whereas height and depth are specific to each glyph.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]