'Return the font family name, e.g., \'Times\''

def get_familyname(self):

    name = self._header.get('FamilyName')
    if (name is not None):
        return name
    name = self.get_fullname()
    extras = '(?i)([    -](regular|plain|italic|oblique|bold|semibold|light|ultralight|extra|condensed))+$'
    return re.sub(extras, u'', name)
