> I have bindings for freetype 2.4.0 for Python. I dont understand why that:
Do you realize that this version is 13 years old? I recently saw a current FreeType version in the anaconda environment. Just saying… > > AttributeError: module 'freetype' has no attribute 'Face' > > is coming from: > > import freetype > face = freetype.Face("Vera.ttf") > face.set_char_size( 48*64 ) > face.load_char('S') > bitmap = face.glyph.bitmap > print(bitmap.buffer) > > FreeType requires initialization (internal module loading). See if you can find some _init_ method that you might need to call first.