unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `:height` attribute does not set the same height in pixels for all fonts.
@ 2013-12-03  0:59 Alin Soare
  0 siblings, 0 replies; only message in thread
From: Alin Soare @ 2013-12-03  0:59 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

After a few divisions of the interval by 2 , I got this result:

The face

    (default (:family "Monaco" :background "black" :foreground "gray77"
:height 100 ) )

provides exacly the same hight as

(font-lock-string-face (:family "Inconsolata" :foreground "lawn green"
:height 1.20) )

So, if the height of the original font is 10 pixels, for the second font I
need 120% of the initial height to preserve the height.

Can you explain me details about what happens ?

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-03  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-03  0:59 `:height` attribute does not set the same height in pixels for all fonts Alin Soare

Code repositories for project(s) associated with this public inbox

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

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).