freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] How to port freetype2 to a system without file system


From: Werner LEMBERG
Subject: Re: [ft-devel] How to port freetype2 to a system without file system
Date: Tue, 13 Mar 2018 06:38:46 +0100 (CET)

>> 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.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]