def str_font ( self, font ):
        weight = { QtGui.QFont.Light: ' Light',
                   QtGui.QFont.Bold:  ' Bold'   }.get(font.weight(), '')
        style  = { QtGui.QFont.StyleOblique: ' Slant',
                   QtGui.QFont.StyleItalic:  ' Italic' }.get(font.style(), '')
        return '%s point %s%s%s' % (
               font.pointSize(), font.family(), style, weight )

#-------------------------------------------------------------------------------
#  'SimpleFontEditor' class:
#-------------------------------------------------------------------------------
Checks if the function does not require authentication.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/font_editor.py/ToolkitEditorFactory.str_font--crossover with--dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/common/cliutils.py/isunauthenticated