

@classmethod
def have_font(cls, name):
    value = FcValue()
    match = cls.get_fontconfig_match(name, 12, False, False)
    if (font.u.s == name):
        return True
    else:
        name = name.lower()
        for font in cls._memory_fonts.values():
            if (font.name.lower() == name):
                return True
    return False

dataset/ETHPy150Open ardekantur/pyglet/pyglet/font/freetype.py FreeTypeFont.have_font/VarMisuse@38/44 `value`->`font`