freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Problem reading some TTF's with CVS version


From: Jacob (=Jouk) Jansen
Subject: [Devel] Problem reading some TTF's with CVS version
Date: Tue, 7 Jan 2003 14:26:30 +0100 (MET)

Hi all,

With the current version of freetype2 in CVS I have problems reading some
TTF files. An example of a "wrong" file is a SYMBOL.TTF file I just found on
a Windows95 machine.
I use the following code:

             if ( FT_Init_FreeType( &font_library ) )
               return 1;
#ifdef DEBUG
             printf( "Fontfile : %s\n" , filename );
#endif
             if ( FT_New_Face( font_library , filename , 0 , &font_face ) )
               {
#ifdef DEBUG
                  printf( "Fontfile : %s\n" , filename );
#endif
                  return 2;
               }


For most files ( filename ) this works but ...
for some files like SYMBOL.TTF I get to the
"return 2" statement. Since the version in the CVS of 16 December 2002 was
OK, something has to be changed in FT_New_Face (what????)

                Jouk


Bush : All votes are equal but some votes are more equal than others.

>------------------------------------------------------------------------------<

  Jouk Jansen
                 
  address@hidden

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Nationaal centrum voor HREM          tttttttttt  uu     uu  dd    dd
  Rotterdamseweg 137                       tt      uu     uu  dd     dd
  2628 AL Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2782272                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<




reply via email to

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