示例#1
0
文件: style.py 项目: CometHale/lphw
 def parse_fonts(self):
     """Read in the fonts"""
     fonts = self.root.findall('{%s}fonts/{%s}font' % (SHEET_MAIN_NS, SHEET_MAIN_NS))
     for node in fonts:
         yield Font.from_tree(node)
示例#2
0
 def parse_fonts(self):
     """Read in the fonts"""
     fonts = self.root.findall('{%s}fonts/{%s}font' % (SHEET_MAIN_NS, SHEET_MAIN_NS))
     for node in fonts:
         yield Font.from_tree(node)