freetype-devel
[Top][All Lists]
Advanced

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

RE: [Devel] truetype loader crashes in current CVS version - fix


From: Graham Asher
Subject: RE: [Devel] truetype loader crashes in current CVS version - fix
Date: Wed, 24 Jul 2002 14:48:34 +0100

I believe that the fix is this: change lines 199 onwards in ttobjs.c as
follows:

    if ( face->root.face_flags & FT_FACE_FLAG_SCALABLE )
      {
#ifdef FT_CONFIG_OPTION_INCREMENTAL
        if ( !face->root.incremental_interface )
          error = TT_Load_Locations( face, stream );
        if ( !error )
          error = TT_Load_CVT      ( face, stream ) ||
                  TT_Load_Programs ( face, stream );
#else
        if ( !error )
          error = TT_Load_Locations( face, stream ) ||
                  TT_Load_CVT      ( face, stream ) ||
                  TT_Load_Programs ( face, stream );
#endif
      }

I shall now test this and check it in if all is well. It looks obvious to
me - the code with  FT_CONFIG_OPTION_INCREMENTAL not defined didn't call
TT_Load_Locations - but please tell me if I have missed anything.

Graham Asher




reply via email to

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