>>> Unfortunately, after compiling the newest cairo (1.15.2), and >>> recompiling the example I get an error which says: >>> >>> Assertion failed! >>> >>> Program: Z:\cairo_pdfprinter.exe >>> File: cairo-recording-surface.c, Line 599 >>> >>> Expression: ! surface->unbounded I've pushed out a fix for this issue.