unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Determining line-height in pixels
@ 2012-06-29  1:50 Dmitry Gutov
  2012-06-29 12:35 ` Doug Lewan
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Gutov @ 2012-06-29  1:50 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all!

How can I programmatically determine full line height in pixels?

I'm planning to use that value for fringe bitmaps, so it needs to
include line spacing.

The docs are saying that it can change from line to line, but the
default value should be good enough.

  (face-attribute 'default :height)

seems to return what I want, only in typographic points. Can I convert
that to pixels?

Best regards,
Dmitry




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-29 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).