freetype-devel
[Top][All Lists]
Advanced

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

problems with code/error message


From: Allen Lin
Subject: problems with code/error message
Date: Fri, 7 Jul 2000 14:15:47 -0700

I keep getting the "unknown file format" error message (error code 2) when I
compile my code.  Am I not defining something which should be defined.  I'm
currently just trying to work my way through the tutorial.

static iTruth Inited = kFalse;

FT_Error error;

static FT_Library library;
static FT_Face  face;


if(!Inited)
    {
          Inited = kTrue;
          error = FT_Init_FreeType( &library );

        if(!error)
      {
           error = FT_New_Face( library, DEFAULT_FONT, 0, &face );
           if(error!=0)
           {
                GregSez(("FT_New_Face() returned error code %d\n",error));
           }
      }
      else
      {
       GregSez(("FT_Init_FreeType() returned error code %d\n",error));
      }
 }

- Allen H. Lin  (not quite Asok)
  Programming Intern
  Quicksilver Software Inc.
  (949)474-2150 x56

The views addressed in this e-mail are not representative of Quicksilver
Software in any way, shape, or form.




reply via email to

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