> > How to throw away the bitmap resulting from running
> > FT_Glyph_To_Bitmap(), and replacing it with a new one that may be
> > one pixel large or smaller in width and/or height?
> It's not exactly clear to me what you want to do, but what about using
> `FT_New_Glyph` and/or `FT_Glyph_Copy`?
I have indeed looked at FT_New_Glyph(). It returns a FT_BitmapGlyph with zero width/height. I tried after FT_New_Glyph with:
FT_Memory memory = library->memory;
FT_MEM_ALLOC( bitmap->bitmap.buffer, mysize);
to make it bigger, but it always segfaults. Maybe if I stare at the code for longer it will come to me :-).