emacs-devel
[Top][All Lists]
Advanced

[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?



reply via email to

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