(font)
gets supported characters from a font object. Only really supports the
    Basic multilingual plane characters right now
gets supported characters from a font object. Only really supports the
    Basic multilingual plane characters right now
gets supported characters from a font object . Only really supports the Basic multilingual plane characters right now
def get_supported_chars(font):
    """ gets supported characters from a font object. Only really supports the
    Basic multilingual plane characters right now """
    print "getting", font
    f = ttfquery.describe.openFont(font)
    for value in xrange(2 ** 16):
        char = unichr(value)
        if ttfquery.glyphquery.explicitGlyph(f, char):
            yield char
def get_supported_chars ( font ) : print "getting" , font f = ttfquery . describe . openFont ( font ) for value in xrange ( 2 ** 16 ) : char = unichr ( value ) if ttfquery . glyphquery . explicitGlyph ( f , char ) : yield char