'Height and depth of char in dvi units. For internal use by dviread.py.'

def _height_depth_of(self, char):

    result = []
    for (metric, name) in ((self._tfm.height, u'height'), (self._tfm.depth, u'depth')):
        value = metric.get(char, None)
        if (value is None):
            matplotlib.verbose.report((u'No    %s    for    char    %d    in    font    %s' % (name, char, self.texname)), u'debug')
            result.append(0)
        else:
            result.append(_mul2012(value, self._scale))
    return result
