Re: Rendering text with an outline

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

 



You could first draw the text in the outline color a couple of times,
using a slight offset in a different direction each time, then after
that you draw the text in the main color on top of that.


On Thu, Mar 5, 2009 at 3:09 PM, Christian Schaubschlaeger
<cs@xxxxxxxxxxxxxxxxxx> wrote:
> Hello!
>
> Is it possible to display the text of a gtk label in
> a certain color, and each letter of the text shall have
> a border in a different color (eg. black letters with
> white border; for better readability on varying backgrounds).
> Is there a way to achieve this in gtk+? Maybe using Pango?
>
> Thanks and best regards
> Christian
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux