adding cairo support for postscript