[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redisplay issue
From: |
Eli Zaretskii |
Subject: |
Re: Redisplay issue |
Date: |
Fri, 04 Dec 2015 13:12:50 +0200 |
> Date: Fri, 04 Dec 2015 13:01:31 +0200
> Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and
> truncated.
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
>
> > Date: Fri, 04 Dec 2015 11:21:57 +0100
> > From: martin rudalics <address@hidden>
> > CC: address@hidden, address@hidden
> >
> > >> So it's the Cairo font backend. 59 text lines plus one menu bar line
> > >> give the 60 pixels difference.
> > >
> > > I don't understand how can it do that with the same size of the same
> > > font. Some bug in ftcrfont.c, perhaps?
> >
> > Do what?
>
> Compute a different frame-char-height for the same font and font size.
In case this is not clear: xterm.c computes FRAME_LINE_HEIGHT as
follows:
get_font_ascent_descent (font, &font_ascent, &font_descent);
FRAME_LINE_HEIGHT (f) = font_ascent + font_descent;
So the result comes from 2 values determined only by the frame's
default font. These values are returned by the font back-end that
accesses the font, so only the font back-end could have affected them
for the same font.
- Re: Redisplay issue, (continued)
- Re: Redisplay issue, martin rudalics, 2015/12/04
- Re: Redisplay issue, Yuan MEI, 2015/12/04
- Re: Redisplay issue, martin rudalics, 2015/12/04
- Re: Redisplay issue, Yuan MEI, 2015/12/04
- Re: Redisplay issue, martin rudalics, 2015/12/04
- Re: Redisplay issue, Yuan MEI, 2015/12/04
- Re: Redisplay issue, martin rudalics, 2015/12/04
- Re: Redisplay issue, Eli Zaretskii, 2015/12/04
- Re: Redisplay issue, martin rudalics, 2015/12/04
- Re: Redisplay issue, Eli Zaretskii, 2015/12/04
- Re: Redisplay issue,
Eli Zaretskii <=
- Re: Redisplay issue, YAMAMOTO Mitsuharu, 2015/12/04
- Re: Redisplay issue, Eli Zaretskii, 2015/12/05
- Re: Redisplay issue, Yuan MEI, 2015/12/05
- Re: Redisplay issue, YAMAMOTO Mitsuharu, 2015/12/06
- Re: Redisplay issue, Eli Zaretskii, 2015/12/07
- Re: Redisplay issue, YAMAMOTO Mitsuharu, 2015/12/07
- Re: Redisplay issue, Eli Zaretskii, 2015/12/11