[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redisplay issue
From: |
Eli Zaretskii |
Subject: |
Re: Redisplay issue |
Date: |
Fri, 11 Dec 2015 10:48:05 +0200 |
> Date: Tue, 08 Dec 2015 13:03:19 +0900
> From: YAMAMOTO Mitsuharu <address@hidden>
> Cc: address@hidden,
> address@hidden,
> address@hidden
>
> >>>>> On Mon, 07 Dec 2015 19:19:48 +0200, Eli Zaretskii <address@hidden> said:
>
> >> It seems that freetype has two types of structures containing
> >> metrics values (ascender, descender, height): FT_FaceRec and
> >> FT_Size_Metrics. ftfont.c uses the former for scalable fonts and
> >> the latter for the other cases.
>
> > Perhaps Yuan could look at the respective values in the debugger,
> > and see if they explain the 1-pixel difference. Can you suggest to
> > him how to set up his debugging session so as to catch the values
> > for the default font?
>
> I assume you are using the emacs-25 branch.
>
> (undo my previous patch)
> % make clean
> % make CFLAGS='-O0 -g3'
> % gdb src/emacs
> (gdb) b ftfont.c:1244
> (gdb) command
> >call (void)debug_print(entity)
> >p scalable
> >p *ft_face
> >p ft_face->size.metrics
> >cont
> >end
> (gdb) r
Thanks.
Yuan, could you please do this and report the results?
- Re: Redisplay issue, (continued)
- 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 <=