From: Eli Zaretskii <eliz@gnu.org>
To: Roland Lutz <rlutz@hedmen.org>, Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: How does Emacs render glyphs?
Date: Sun, 24 Nov 2024 18:33:14 +0200 [thread overview]
Message-ID: <86wmgsioc5.fsf@gnu.org> (raw)
In-Reply-To: <a71e104a-cc7d-bfe-9dd9-ea932f1e7af3@grinsen-ohne-katze.de> (message from Roland Lutz on Sun, 24 Nov 2024 16:03:29 +0100 (CET))
> Date: Sun, 24 Nov 2024 16:03:29 +0100 (CET)
> From: Roland Lutz <rlutz@hedmen.org>
>
> 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?
No, I don't think Emacs uses Pango, at least not directly. Emacs
built with Cairo might use Pango indirectly; all the other
configurations AFAIK do not.
Po Lu, please correct me if I'm wrong.
next prev parent reply other threads:[~2024-11-24 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-24 15:03 How does Emacs render glyphs? Roland Lutz
2024-11-24 16:33 ` Eli Zaretskii [this message]
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
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=86wmgsioc5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=rlutz@hedmen.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).