freetype
[Top][All Lists]
Advanced

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

[ft] FT_Face from memory


From: Nikolay Mikhailov
Subject: [ft] FT_Face from memory
Date: Wed, 5 Oct 2005 19:19:23 +0400

Hi!

Whould anybody prompt to me about following situation.
I have some font file loaded in memory, for example,

  unsigned char* buff; /*loaded file*/
  size_t buffSz;   /*its size*/
  FT_Face face;
  ......

/*then create FT_Face*/
  FT_New_Memory_Face(Lib,
                     buff, 
                     buffSz,
                     0,
                     &face);
/*When I call*/
FT_Done_Face(face);

Is this free variable "buff" or not?
P.S.
I know, I can just examine this, but...


-- 
Best regards,
 Nikolay                          mailto:address@hidden






reply via email to

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