def _groupFontByFamily(self, font_files):
font_families = defaultdict(list)<EOL>for font_file in font_files:<EOL><INDENT>font = fc.FcFont(font_file)<EOL>font_families[font.family[<NUM_LIT:0>][<NUM_LIT:1>]].append(font_file)<EOL><DEDENT>return font_families<EOL>
Returns font files grouped in dict by font family.