'Return value in pts'

def _unit_convert(self, value, base=None, font=None):

    if (base is None):
        base = self.width
    if ((not font) and (font != 0)):
        font = self.fontSize
    return unit_convert(value, base, font, self._profile.dpi, body_font_size=self._stylizer.body_font_size)
