nodes: 0, module; 1, function_definition; 2, function_name:get_font_list; 3, parameters; 4, block; 5, expression_statement; 6, expression_statement; 7, expression_statement; 8, expression_statement; 9, return_statement; 10, comment:"""Returns a sorted list of all system font names"""; 11, assignment; 12, assignment; 13, call; 14, identifier:font_list; 15, identifier:font_map; 16, call; 17, identifier:font_list; 18, list_comprehension; 19, attribute; 20, argument_list; 21, attribute; 22, argument_list; 23, call; 24, for_in_clause; 25, identifier:font_list; 26, identifier:sort; 27, identifier:pangocairo; 28, identifier:cairo_font_map_get_default; 29, attribute; 30, argument_list; 31, identifier:f; 32, call; 33, identifier:f; 34, identifier:get_name; 35, attribute; 36, argument_list; 37, identifier:font_map; 38, identifier:list_families
code: def get_font_list():
      """Returns a sorted list of all system font names"""
  
      font_map = pangocairo.cairo_font_map_get_default()
      font_list = [f.get_name() for f in font_map.list_families()]
      font_list.sort()
  
      return font_list