def get_fontext_synonyms(fontext):
    """
    Return a list of file extensions extensions that are synonyms for
    the given file extension *fileext*.
    """
    return {'afm': ['afm'], 'otf': ['otf', 'ttc', 'ttf'], 'ttc': ['otf',
        'ttc', 'ttf'], 'ttf': ['otf', 'ttc', 'ttf']}[fontext]
