|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* AFM support for Type 1 fonts (body). */ |
|
|
|
|
/* */ |
|
|
|
|
/* Copyright 1996-2001, 2002, 2003, 2004 by */ |
|
|
|
|
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */ |
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
|
|
|
/* */ |
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */ |
|
|
|
@ -285,6 +285,11 @@ |
|
|
|
|
/* Kerning offset is 14 bytes from start of extensions table. */ |
|
|
|
|
p += 14; |
|
|
|
|
p = start + LITTLE_ENDIAN_UINT( p ); |
|
|
|
|
|
|
|
|
|
if ( p == start ) |
|
|
|
|
/* zero offset means no table */ |
|
|
|
|
goto Exit; |
|
|
|
|
|
|
|
|
|
if ( p + 2 > limit ) |
|
|
|
|
{ |
|
|
|
|
error = T1_Err_Unknown_File_Format; |
|
|
|
|