all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roland Lutz <rlutz@hedmen.org>
To: emacs-devel@gnu.org
Subject: How does Emacs render glyphs?
Date: Sun, 24 Nov 2024 16:03:29 +0100 (CET)	[thread overview]
Message-ID: <a71e104a-cc7d-bfe-9dd9-ea932f1e7af3@grinsen-ohne-katze.de> (raw)

Hi,

I've been fiddling with Pango text rendering and noticed that the output 
looks kind of weird.  Using the same font and size, glyphs rendered via 
Pango appear to be one pixel shorter and slightly narrower than in Emacs:

https://hedmen.org/vera-11-emacs.png
https://hedmen.org/vera-11-pango.png

Since I very much prefer the way Emacs renders text, I'd like to replicate 
this behavior.  Do I assume correctly that Emacs uses Pango internally? 
Are there specific parameters I need to pass to Pango in order to achieve 
this result?

Roland




             reply	other threads:[~2024-11-24 15:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-24 15:03 Roland Lutz [this message]
2024-11-24 16:33 ` How does Emacs render glyphs? Eli Zaretskii
2024-11-25  0:37   ` Po Lu
2024-11-27 15:59     ` Roland Lutz

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=a71e104a-cc7d-bfe-9dd9-ea932f1e7af3@grinsen-ohne-katze.de \
    --to=rlutz@hedmen.org \
    --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 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.