Feature request: drop shadow
Marc Lehmann
schmorp at schmorp.de
Tue Apr 11 13:07:24 CEST 2006
On Mon, Apr 10, 2006 at 02:53:06PM -0700, Kelvie Wong <kelvie at ieee.org> wrote:
> The point of this is not for eye-candy. The point of this is to have
> text that is viewable from a transparent terminal; maybe drop shadows
> gives off the wrong connotation -- perhaps a text outline would work
> also?
Yes, can be done with composite, too.
> I've been trying to go through the source during idle times at work;
> is the draw() function in rxvtfont.C where I'm looking for? I'm not
> too comfortable in C++ and X programming.
the various draw methods in rxvtfont.C are almost the right place, I'd change
the caller in screen.C, though, as that works for all fonts and color
selection is easy at that point, too.
The problem you will need to face, though, is that this will make your
characters larger, which is not anticipated anywhere else, so you need to
find a way to decrease your font size or deal with the pixel droppings this
is to leave.
Using composite has no such avdantages, as it adds a shadow in another
"layer" below the text. It *is* the correct solution, after all.
--
The choice of a
-----==- _GNU_
----==-- _ generation Marc Lehmann
---==---(_)__ __ ____ __ pcg at goof.com
--==---/ / _ \/ // /\ \/ / http://schmorp.de/
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
More information about the rxvt-unicode
mailing list