[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Several suggestions for image support
From: |
Kim F. Storm |
Subject: |
Re: Several suggestions for image support |
Date: |
29 Apr 2004 12:00:50 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Kenichi Handa <address@hidden> writes:
> In article <address@hidden>, address@hidden (Kim F. Storm) writes:
> > I have just installed changes to revert to the 21.3 functionality for
> > newline height calculation, that is, use the current face font height
> > (by default).
>
> > Then I added a new line-height property on the newline with the
> > following values:
>
> > nil -> use height of current face (the default)
> > t -> use default face height (as minimum height)
> > 0 -> use (don't increase) actual line height
> > N (integer > 0) -> use N pixels (as minimum height)
> > F (float > 0.0) -> use F * current face font height
>
> If there's no line-height property, a height of a space
> glyph (for SPC, TAB, NL) is decided by the height of a SPACE
> glyph of a font. But, it seems that we can make their
> height exactly what requested by a face. Then I think we
> don't have to introduce line-height property. Each
> line-height property value can be simulated as follows.
>
> nil -- do nothing
> t -- add `default' face
> 0 -- make a face of height 0 and add it
> N -- make a face by :height N (but specifies it by 1/10 pt) and add it.
> F -- make a face by :height F and add it
This is possible, yes, but the main advantage of the line-height
property is that you can put it on an entire region -- independent of
the faces in that region -- and make the line spacing work independint
of filling, untabitying etc. which may add/delete newlines (which will
automatically inherit the line-height property).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Several suggestions for image support, (continued)
- Re: Several suggestions for image support, Miles Bader, 2004/04/26
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/27
- Re: Several suggestions for image support, David Kastrup, 2004/04/27
- Re: Several suggestions for image support, David Kastrup, 2004/04/27
- Re: Several suggestions for image support, Richard Stallman, 2004/04/28
- Re: Several suggestions for image support, David Kastrup, 2004/04/28
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/28
- Re: Several suggestions for image support, David Kastrup, 2004/04/28
- Re: Several suggestions for image support, Richard Stallman, 2004/04/29
- Re: Several suggestions for image support, Kenichi Handa, 2004/04/28
- Re: Several suggestions for image support,
Kim F. Storm <=
- Re: Several suggestions for image support, Kenichi Handa, 2004/04/29
- Re: Several suggestions for image support, Kenichi Handa, 2004/04/28
- Re: Several suggestions for image support, Richard Stallman, 2004/04/25
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/28
- Re: Several suggestions for image support, David Kastrup, 2004/04/28
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/29
- Re: Several suggestions for image support, David Kastrup, 2004/04/29
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/29
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/29
- Re: Several suggestions for image support, David Kastrup, 2004/04/30