[Bug 16959] Export to pdf doesn't work.