added cairo pdf output