def _get_vispy_font_filename(face, bold, italic):
 name = (face + '-')
 name += ('Regular' if ((not bold) and (not italic)) else '')
 name += ('Bold' if bold else '')
 name += ('Italic' if italic else '')
 name += '.ttf'
 return load_data_file(('fonts/%s' % name))

def _get_vispy_font_filename ( face , bold , italic ) : name = ( face + '-' ) name += ( 'Regular' if ( ( not bold ) and ( not italic ) ) else '' ) name += ( 'Bold' if bold else '' ) name += ( 'Italic' if italic else '' ) name += '.ttf' return load_data_file ( ( 'fonts/%s' % name ) )
fetch a remote vispy font .