code: def font(self):
          
          if self._family is None:
              return None, None
          else:
              font_tuple = self.__generate_font_tuple()
              font_obj = font.Font(family=self._family, size=self._size,
                                   weight=font.BOLD if self._bold else font.NORMAL,
                                   slant=font.ITALIC if self._italic else font.ROMAN,
                                   underline=1 if self._underline else 0,
                                   overstrike=1 if self._overstrike else 0)
              return font_tuple, font_obj
docs: Selected font.
          
          :return: font tuple (family_name, size, \*options), :class:`~font.Font` object