'Return a simple set of regular, bold, italic and bold-italic faces for
the specified family. Returns a dictionary with each element being a
2-tuple of (path to font, full font name) and the keys being: normal,
bold, italic, bi.'

def legacy_fonts_for_family(self, family):

    ans = {}
    try:
        faces = self.fonts_for_family(family)
    except NoFonts:
        return ans
    for (i, face) in enumerate(faces):
        if (i == 0):
            key = u'normal'
        elif (face[u'font-style'] in {u'italic', u'oblique'}):
            key = (u'bi' if (face[u'font-weight'] == u'bold') else u'italic')
        elif (face[u'font-weight'] == u'bold'):
            key = u'bold'
        else:
            continue
        ans[key] = (face[u'path'], face[u'full_name'])
    return ans
