[cairo] Cairo fails to render under Windows/MSVC
swiftcoder at gmail.com
Sat May 29 13:41:00 PDT 2010
I have a minimal sample using pango + cairo (attached), copied pretty
much verabtim from a pangocairo tutorial on the web.
This sample functions perfectly under Linux, writing out a png file
containing a coloured and outlined rectangle, and a line of text.
However, when compiled on Windows using MSVC, and linking against the
pre-built cairo and pango binaries from GTK+, it only renders the
background. You can double check this by changing the background color
- this always renders out perfectly, but the fill, stroke and text
Any ideas why this might be happening, given that the program compiles
and runs without error, and does successfully render the background
and output it as a png? I thought my Windows-specific hurdles were
over when I managed to get it to compile, but apparently that is not
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1229 bytes
Desc: not available
More information about the cairo