[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Determining line-height in pixels
From: |
Dmitry Gutov |
Subject: |
Determining line-height in pixels |
Date: |
Fri, 29 Jun 2012 05:50:11 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt) |
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
- Determining line-height in pixels,
Dmitry Gutov <=