Re: alpha for text?
- From: John Cupitt <jcupitt gmail com>
- To: Paul Pogonyshev <pogonyshev gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: alpha for text?
- Date: Fri, 15 Jul 2005 23:47:24 +0100
On 7/15/05, Paul Pogonyshev <pogonyshev gmx net> wrote:
Has anyone rendered text with alpha channel (i.e. semitransparent text)
in GDK framework? So far my best solution is to render black on white
to a GdkImage, get it back in a GdkPixbuf and then add color/transparency
manually. Not actually too difficult, but I want to ask in case somebody
can come up with something better.
You can use pangoft2 to render text on the client side and thereby
avoid shipping images back from the server. Not much neater, but quite
a bit quicker.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]