can't render text
Techie Help <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am new to Cairo and read the documentation on the website. Just trying out some examples. I can render lines, rectangles, basically shapes but not text. I am using following code: Please let me know, what I am doing wrong. <code> cairo_select_font_face (cr, "monospace", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAl); cairo_set_font_size (cr, 14); cairo_set_source_rgb (cr, 0, 0, 0); cairo_move_to (cr, 0, 50); cairo_show_text (cr, "Print Something"); </code> TIA, tt -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo