/[freetype]/freetype2/src/sfnt/ttkern.c
ViewVC logotype

Diff of /freetype2/src/sfnt/ttkern.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wl, Tue Mar 1 02:13:50 2005 UTC revision 1.4 by freetype, Tue Mar 1 22:57:25 2005 UTC
# Line 48  Line 48 
48                       FT_Stream  stream )                       FT_Stream  stream )
49    {    {
50      FT_Error   error;      FT_Error   error;
     FT_Memory  memory = stream->memory;  
51      FT_ULong   table_size;      FT_ULong   table_size;
52      FT_Byte*   p;      FT_Byte*   p;
53      FT_Byte*   p_limit;      FT_Byte*   p_limit;
# Line 184  Line 183 
183      FT_Int    result = 0;      FT_Int    result = 0;
184      FT_UInt   count, mask = 1;      FT_UInt   count, mask = 1;
185      FT_Byte*  p       = face->kern_table;      FT_Byte*  p       = face->kern_table;
     FT_Byte*  p_limit = p + face->kern_table_size;  
186    
187    
188      p   += 4;      p   += 4;
# Line 199  Line 197 
197        FT_UInt  coverage = FT_NEXT_USHORT( p );        FT_UInt  coverage = FT_NEXT_USHORT( p );
198        FT_Int   value    = 0;        FT_Int   value    = 0;
199    
200          FT_UNUSED(version);
201    
202        next = base + length;        next = base + length;
203    
# Line 222  Line 221 
221            {            {
222              FT_UInt   min = 0;              FT_UInt   min = 0;
223              FT_UInt   max = num_pairs;              FT_UInt   max = num_pairs;
             FT_Byte*  q;  
224    
225    
226              while ( min < max )              while ( min < max )
# Line 287  Line 285 
285        p = next;        p = next;
286      }      }
287    
   Exit:  
288      return result;      return result;
289    }    }
290    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26