[cairo] scale with text

Tobias Ceglarek dev at ceglarek.org
Sat Feb 17 10:20:41 PST 2007


> I'm unsure exactly what problem you're describing here. Could you
> provide more details, (perhaps an image showing the undesired
> results).

I have attached two pics. You will see, that the text overlaps the white
area in the zoomed version.

> > e.g. is it possible to convert the text to a path?
> 
> Yes. See cairo_text_path() and cairo_glyph_path().

I have tried

cairo_text_path(str)
cairo_fill

instead of 

cairo_show_text(str)

The effect is the same.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo_text_original.png
Type: image/png
Size: 5172 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070217/ed1554a0/cairo_text_original.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo_text_zoomed.png
Type: image/png
Size: 5246 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070217/ed1554a0/cairo_text_zoomed.png


More information about the cairo mailing list