[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redisplay issue

From: YAMAMOTO Mitsuharu
Subject: Re: Redisplay issue
Date: Tue, 08 Dec 2015 13:03:19 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> 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
(gdb) r

                                     YAMAMOTO Mitsuharu

reply via email to

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