freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Simple Init question


From: Werner LEMBERG
Subject: Re: [ft-devel] Simple Init question
Date: Wed, 25 Jan 2012 07:33:49 +0100 (CET)

> Will be using Freetype in an embedded product with two font files.
> Do I need to call FT_Init_FreeType for each file?  Obviously, will
> need to call FT_New_Face for each file but not sure if need a
> different library instance for each.

You can have multiple faces with one library instance.  However, you
must have one library instance for each thread.

Thus the answer is no: FT_Init_FreeType initializes the library
instance, not a face.

Please help improve the documentation!  What exactly were you missing?


    Werner



reply via email to

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