unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: emacs-devel@gnu.org
Subject: `:height` attribute does not set the same height in pixels for all fonts.
Date: Tue, 3 Dec 2013 02:59:08 +0200	[thread overview]
Message-ID: <CA+Xtq3UZ2DCd4Un2OTcbaXoWj3rLS5d0hPK7thTZUfdKic242Q@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2013-12-03  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CA+Xtq3UZ2DCd4Un2OTcbaXoWj3rLS5d0hPK7thTZUfdKic242Q@mail.gmail.com \
    --to=as1789@gmail.com \
    --cc=emacs-devel@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 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).