[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: |
27 Apr 2004 16:00:52 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
David Kastrup <address@hidden> writes:
> address@hidden (Kim F. Storm) writes:
>
> > Miles Bader <address@hidden> writes:
> >
> > > David Kastrup <address@hidden> writes:
> > > > > 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
> > > >
> > > > Is 0 a special case of N (use 0 pixels as minimum height)?
> > >
> > > Sounds like it.
> >
> > Not exactly -- the 0 value is a little special in the sense that it
> > _also_ tries to reposition the ascent/descent of the space glyph
> > so that when the cursor is on that glyph, as much as possible of the
> > cursor is visible.
>
> Ok, here is my take on it: the height of the newline glyph is more or
> less relevant when we visibly mark a region or change the background
> locally in any other manner or have the cursor box on it: then the
> skyline of the top is given by the glyph height, right? It would
> appear to me that for this purpose it would be most consistent if we
> used the same rules for spaces as for newline. The rule I would
> propose is the following: always use the height of the _current_ font
> at the point of the space or newline, unless that would exceed the
> actually available height (which normally will never fall behind the
> ascent of the default font, unless we use text properties on the
> newline character).
>
> 0 will be a special case,
I mean, will _not_ be a special case. Sorry.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Several suggestions for image support, (continued)
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/24
- Re: Several suggestions for image support, David Kastrup, 2004/04/24
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/26
- Re: Several suggestions for image support, Kim F. Storm, 2004/04/26
- Re: Several suggestions for image support, David Kastrup, 2004/04/26
- 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 <=
- 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, 2004/04/29
- 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