all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Determining line-height in pixels
Date: Fri, 29 Jun 2012 20:17:19 +0400	[thread overview]
Message-ID: <4FEDD50F.9040404@yandex.ru> (raw)
In-Reply-To: <603DFB85696C4598B0E5F8D7D9F6B8C5@us.oracle.com>

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



      reply	other threads:[~2012-06-29 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29  1:50 Determining line-height in pixels Dmitry Gutov
2012-06-29 12:35 ` Doug Lewan
2012-06-29 13:57   ` Dmitry Gutov
2012-06-29 16:02     ` Drew Adams
2012-06-29 16:17       ` Dmitry Gutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEDD50F.9040404@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.