def char_disp(self, cid):
        "Returns an integer for horizontal fonts, a tuple for vertical fonts."
        return self.disps.get(cid, self.default_disp)
Returns an integer for horizontal fonts, a tuple for vertical fonts.
pdfminer/pdffont.py