all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roland Lutz <rlutz@hedmen.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: How does Emacs render glyphs?
Date: Wed, 27 Nov 2024 16:59:07 +0100 (CET)	[thread overview]
Message-ID: <e9d8dee3-f350-d49d-31ae-8010a49b55e@hedmen.org> (raw)
In-Reply-To: <877c8si1x3.fsf@yahoo.com>

On Mon, 25 Nov 2024, Po Lu wrote:
> No, Emacs doesn't use Pango.  The discrepancy observed by the OP is
> probably the product of inconsistencies between either hinting or glyph
> metrics rounding (but it's hard to say from this description who is in
> the wrong).

Thank you!  This was the hint that allowed me to solve this.

When rendering glyphs via FreeType and disabling hinting, I get the 
desired result.  For reference, here is the regular FreeType output 
(with hinting):

https://hedmen.org/vera-11-freetype.png

Roland




      reply	other threads:[~2024-11-27 15:59 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
2024-11-25  0:37   ` Po Lu
2024-11-27 15:59     ` Roland Lutz [this message]

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=e9d8dee3-f350-d49d-31ae-8010a49b55e@hedmen.org \
    --to=rlutz@hedmen.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.