* Pixel specification for ascent in image descriptors
@ 2024-07-19 13:35 Erik Präntare
2024-07-20 6:47 ` Michael Heerdegen via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 3+ messages in thread
From: Erik Präntare @ 2024-07-19 13:35 UTC (permalink / raw)
To: help-gnu-emacs
I am working on a package which requires overlaying some glyphs with an svg
image. This image should appear as the original glyph, but may be taller
than one as I am rendering small indicators above them. To appear as the
regular glyph, I need to specify the :ascent image property to be the same
as for the glyph it replaces. However, this seems to only be possible to
do as a fraction of the image height (expressed as an integer percentage).
This seems to sometimes cause small jitters from off-by-one pixel errors.
Is it possible to specify the ascent of the image in the amount of pixels
instead, similar to how one can with pixel specifications for spaces?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-21 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19 13:35 Pixel specification for ascent in image descriptors Erik Präntare
2024-07-20 6:47 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-07-21 13:14 ` Michael Heerdegen
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.