freetype-devel
[Top][All Lists]
Advanced

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

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


From: Huw D M Davies
Subject: Re: [Devel] Problem reading some TTF's with CVS version
Date: Tue, 7 Jan 2003 13:54:04 +0000
User-agent: Mutt/1.4i

On Tue, Jan 07, 2003 at 02:26:30PM +0100, Jacob (=Jouk) Jansen wrote:
> 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????)

You need something like this to load symbol type fonts at the moment.

Huw.

Attachment: charmap.diff
Description: Text document


reply via email to

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