[Top][All Lists]

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

Re: How to get the actual face attribute?

From: Yuan Fu
Subject: Re: How to get the actual face attribute?
Date: Mon, 22 Jun 2020 13:00:42 -0400

> On Jun 21, 2020, at 11:54 AM, Stefan Monnier <> wrote:
>> When writing my package I need to get height of the face at point.
> Note that there may be simultaneously several different such heights if
> point is shown simultaneously in different frames.
>        Stefan

Thanks. Unfortunately I think I asked an x-y question. What I really want to 
know is the width of the glyph and I thought I can just multiply the height 
factor to the original width of the glyph. It seems not to be the case. The 
multiplied result doesn’t match with the width on glass. More precisely :height 
* glyph width != posn of point after - posn of point. Is this expected?

Also I can’t use posn for calculation since sometimes the text might not be on 


reply via email to

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