$ 0 0 Haven't looked at your code yet. However, here's a PDF recording example that works:http://forum.processing.org/topic/pdf-export-shapes-misaligned