ó <×ï[c@sXddlmZddlmZddlZdefd„ƒYZdZdZd Z dS( i(tEpsImagePlugin(tpy3iÿÿÿÿNtPSDrawcBsheZdZd d„Zd„Zd d„Zd„Zd„Zd„Z d„Z d„Z d d „Z RS( si Sets up printing to the given file. If **fp** is omitted, :py:attr:`sys.stdout` is assumed. cCs|stj}n||_dS(N(tsyststdouttfp(tselfR((s*/tmp/pip-build-SKekGm/pillow/PIL/PSDraw.pyt__init__ s cCsIt s|jtjkr,|jj|ƒn|jjt|dƒƒdS(NsUTF-8(RRRRtwritetbytes(Rtto_write((s*/tmp/pip-build-SKekGm/pillow/PIL/PSDraw.pyt _fp_write%scCsA|jdƒ|jtƒ|jtƒ|jdƒi|_dS(s=Set up printing of a document. (Write Postscript DSC header.)sD%!PS-Adobe-3.0 save /showpage { } def %%EndComments %%BeginDocument s %%EndProlog N(R t EDROFF_PStVDI_PStisofont(Rtid((s*/tmp/pip-build-SKekGm/pillow/PIL/PSDraw.pytbegin_document+s     cCs3|jdƒt|jdƒr/|jjƒndS(s-Ends printing. (Write Postscript DSC footer.)s%%%EndDocument restore showpage %%End tflushN(R thasattrRR(R((s*/tmp/pip-build-SKekGm/pillow/PIL/PSDraw.pyt end_document9s cCsQ||jkr6|jd||fƒd|j|s  –"