|
From: | Dmitry Gutov |
Subject: | Re: Determining line-height in pixels |
Date: | Fri, 29 Jun 2012 20:17:19 +0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
On 29.06.2012 20:02, Drew Adams wrote:
(frame-char-height) is the answer, probably along with `text-scale-mode-amount' and `text-scale-mode-step'.See also variable `line-spacing' and the frame parameter of the same name. See also text/overlay property `line-height'. See (elisp) `Line Height'.
Thanks, but this is what I found first thing actually, and there was no mention of `frame-char-height' there.
For the moment I'm trying to reuse bitmaps across lines, and accounting for differences between the lines doesn't fit in that. It shouldn't be a problem in [text|prog]-mode buffers anyway.
-- Dmitry
[Prev in Thread] | Current Thread | [Next in Thread] |