* Using overlays to hide emojis while preserving fill
@ 2024-06-22 2:21 Psionic K
2024-06-22 7:48 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Psionic K @ 2024-06-22 2:21 UTC (permalink / raw)
To: help-gnu-emacs
The animations in dslide occasionally reveal one character at a time.
My initial implementation just sets the foreground to the background
color. This doesn't work for emojis. I suppose I can use the display
property, but I need to preserve the fill size in that case. What's a
consistent way to obscure the text while preserving its dimensions?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using overlays to hide emojis while preserving fill
2024-06-22 2:21 Using overlays to hide emojis while preserving fill Psionic K
@ 2024-06-22 7:48 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-06-22 7:48 UTC (permalink / raw)
To: help-gnu-emacs
> From: Psionic K <psionik@positron.solutions>
> Date: Sat, 22 Jun 2024 11:21:39 +0900
>
> The animations in dslide occasionally reveal one character at a time.
> My initial implementation just sets the foreground to the background
> color. This doesn't work for emojis. I suppose I can use the display
> property, but I need to preserve the fill size in that case. What's a
> consistent way to obscure the text while preserving its dimensions?
If you are asking how to compute the width of text (including text
that shows Emoji), then I'd expect string-pixel-width to be (at least
part of) the answer.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-22 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-22 2:21 Using overlays to hide emojis while preserving fill Psionic K
2024-06-22 7:48 ` Eli Zaretskii
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.