freetype
[Top][All Lists]
Advanced

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

Re: problems with code/error message


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

FT_USE_MODULE(cff_driver_class)
FT_USE_MODULE(t1cid_driver_class)
FT_USE_MODULE(psnames_module_class)
FT_USE_MODULE(ft_raster1_renderer_class)
FT_USE_MODULE(sfnt_module_class)
FT_USE_MODULE(ft_smooth_renderer_class)
FT_USE_MODULE(tt_driver_class)
FT_USE_MODULE(t1_driver_class)
FT_USE_MODULE(t1z_driver_class)


I'm using Type1z instead of Type1, but changing between the two makes little
difference.  I've experimented with that as well.

- 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.
----- Original Message -----
From: David Turner <address@hidden>
To: Allen Lin <address@hidden>
Cc: <address@hidden>; <address@hidden>
Sent: Friday, July 07, 2000 2:46 PM
Subject: Re: problems with code/error message


> And also, what is the content of the <freetype/config/ftmodule.h>
> file you're using.. ?
>
> - David
>
> Allen Lin a écrit :
> >
> > 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]