[cairo] Rendering White Text

Tracy Hill tghill at hotmail.com
Tue Jun 10 08:19:51 PDT 2008


Hi,

I'm having problems rendering white text.  I'm using Arial 16 Bold.  The text that is solid white is fine. However the edges look like they are being rendered in black and dark grey.  These edges are the right color for if my text was black not white.  I am an image surface in win32.

pseudo code:

cr = cairo_create_cairo_context(100, 100, 4)
cairo_select_font_face(cr, "Arial", "Bold")
cairo_set_font_size(cr, 13)
cairo_move_to(cr, 0, 13)
cairo_set_color(cr,"White")
cairo_show_text(cr, "Hello")


Any suggestions?

- Greg

_________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080610/219f20a9/attachment.html 


More information about the cairo mailing list