Re: Pango layouts rendering on Windows using Cairo.
- From: Behdad Esfahbod <behdad behdad org>
- To: plexer plexer net
- Cc: gtk-i18n-list gnome org
- Subject: Re: Pango layouts rendering on Windows using Cairo.
- Date: Wed, 01 Oct 2008 00:08:27 -0400
Plex wrote:
> Hi,
>
> I'm trying to work with Pango and Cairo under Gtkmm, currently running
> on Windows.
>
> I'm having trouble getting Pango to render nice text. In this screenshot:
>
> http://i183.photobucket.com/albums/x210/plexerSE/pango.gif
>
> the first line of text is rendered with Cairo and the second with
> Pango using the following code:
>
...
>
> I expected the Pango text to look similar to, or at least no worse
> than, the cairo text (which is looking pretty awful to begin with, I
> think I must not have anti-aliasing enabled). I assume the reason is
> that I'm using Pango incorrectly, but I've been unable to find much
> documentation on the topic. Has anyone here successfully gotten Pango
> to play nicely with Cairo under Gtkmm?
Looks to me like you are not clearing the background and hence drawing the
text multiple times overlapping.
behdad
> Regards,
> James McGill
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]