'Selects which font to use.
:param font: A Postscript font name
:param size: Size in points.'

def setfont(self, font, size):

    if (font not in self.isofont):
        self._fp_write(('/PSDraw-%s    ISOLatin1Encoding    /%s    E\n' % (font, font)))
        self.isofont[font] = 1
    self._fp_write(('/F0    %d    /PSDraw-%s    F\n' % (size, font)))
