def _makeTestFonts(rootPath):
path1 = os.path.join(rootPath, "<STR_LIT>", "<STR_LIT>")<EOL>path2 = os.path.join(rootPath, "<STR_LIT>", "<STR_LIT>")<EOL>path3 = os.path.join(rootPath, "<STR_LIT>", "<STR_LIT>")<EOL>path4 = os.path.join(rootPath, "<STR_LIT>", "<STR_LIT>")<EOL>path5 = os.path.join(rootPath, "<STR_LIT>", "<STR_LIT>")<EOL>f1 = fontParts.fontshell.RFont()<EOL>fillInfo(f1)<EOL>addGlyphs(f1, <NUM_LIT:100>, addSupportLayer=False)<EOL>f1.features.text = u"<STR_LIT>"<EOL>f2 = fontParts.fontshell.RFont()<EOL>fillInfo(f2)<EOL>addGlyphs(f2, <NUM_LIT>, addSupportLayer=True)<EOL>f2.features.text = u"<STR_LIT>"<EOL>f1.info.ascender = <NUM_LIT><EOL>f1.info.descender = -<NUM_LIT:200><EOL>f2.info.ascender = <NUM_LIT><EOL>f2.info.descender = -<NUM_LIT:100><EOL>f1.info.copyright = u"<STR_LIT>"<EOL>f2.info.copyright = u"<STR_LIT>"<EOL>f1.lib['<STR_LIT>'] = "<STR_LIT>"<EOL>f2.lib['<STR_LIT>'] = "<STR_LIT>"<EOL>f1.groups["<STR_LIT>"] = ['<STR_LIT>', '<STR_LIT>']<EOL>f1.groups["<STR_LIT>"] = ['<STR_LIT>', '<STR_LIT>']<EOL>f2.groups.update(f1.groups)<EOL>f1.kerning[('<STR_LIT>', '<STR_LIT>')] = -<NUM_LIT:100><EOL>f2.kerning[('<STR_LIT>', '<STR_LIT>')] = -<NUM_LIT:200><EOL>f1.kerning[('<STR_LIT>', '<STR_LIT>')] = -<NUM_LIT:100><EOL>f2.kerning[('<STR_LIT>', '<STR_LIT>')] = <NUM_LIT:0><EOL>f1.kerning[('<STR_LIT>', '<STR_LIT>')] = <NUM_LIT:10><EOL>f1.kerning[('<STR_LIT>', '<STR_LIT>')] = <NUM_LIT:10><EOL>f2.kerning[('<STR_LIT>', '<STR_LIT>')] = <NUM_LIT:1><EOL>f2.kerning[('<STR_LIT>', '<STR_LIT>')] = <NUM_LIT:0><EOL>print([l.name for l in f1.layers], [l.name for l in f2.layers])<EOL>f1.save(path1, <NUM_LIT:3>)<EOL>f2.save(path2, <NUM_LIT:3>)<EOL>return path1, path2, path3, path4, path5<EOL>
Make some test fonts that have the kerning problem.