unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How does Emacs render glyphs?
@ 2024-11-24 15:03 Roland Lutz
  2024-11-24 16:33 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Lutz @ 2024-11-24 15:03 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-27 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-24 15:03 How does Emacs render glyphs? Roland Lutz
2024-11-24 16:33 ` Eli Zaretskii
2024-11-25  0:37   ` Po Lu
2024-11-27 15:59     ` Roland Lutz

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