emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text shadows


From: Eli Zaretskii
Subject: Re: Text shadows
Date: Sun, 12 Mar 2023 13:33:32 +0200

> From: Kai Ma <justksqsf@gmail.com>
> Date: Sun, 12 Mar 2023 17:55:01 +0800
> Cc: emacs-devel@gnu.org
> 
>  At worst, perhaps it would be good enough not to support blurring on
>  some platforms, or support it by some minor modification of the color?
>  Or maybe we could implement the equivalent of gaussian_blur in our
>  code?
> 
> This is already the case: Cairo does not provide a Gaussian blurring 
> function, so I wrote one (named
> gaussian_blur) in xcairo.c.  It is an approximation, not the “True Gaussian 
> Blur”, like Moz2D’s
> implementation.  It only uses one CPU core, but is fast enough for me.

I thought you said gaussian_blur required some Cairo-only extension?
That's why I wrote the above.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]