recording surface with NULL extent (at creation time) do not paint to PDF surface
I used to work with
(Note, the NULL at the end).
Then paint the recording surface into PDF surface.
Now (cairo 1.16.0) it does not work anymore (nothing is drawn). If I do put a correct extent rectangle as last parameter when I create the recording surface, then it works well again. As far as I understand it, this is a bug, since the extent parameter is documented as useful only for optimization (clipping). All the best, and thanks for cairo!