>> 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 n
Hi, I want to paste the source code here, for people in the future.
/*/
/* */
/* */
/*
> Hello,
> I have ported freetype2 to our system.
> Our system don't supports file system, so I write some functions to
> emulate file operations.
> fopen, fread, etc.
> But now I maintain a "FILE" array, it
> eats a lot memory.
> Is there any better way to port
> freetype2?
> Our fonts are
Yes, see FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT in
include/freetype/config/ftoption.h.
You can load faces from memory using FT_New_Memory_Face.
On Mon, Mar 12, 2018 at 4:57 PM duhuanpeng <548708...@qq.com> wrote:
> Hello,
>
> I have ported freetype2 to our system. Our system don't supports file