>> Can you not use FT_New_Memory_Face()? That treats a block of
>> memory as a font file. You should be able to pass font1, font2
>> directly as the 2nd argument to FT_New_Memory_Face().
> Hi, I will try this.
> Should I leave the ftsystem.c unchanged?
This is up to your system. If you need to adjust memory functions you
have to touch the code. Obviously, if you don't use FreeType's API
related to streams, you don't need to modify I/O functions since they
are not used then.
Freetype-devel mailing list