8 |
/* parse compressed PCF fonts, as found with many X11 server */ |
/* parse compressed PCF fonts, as found with many X11 server */ |
9 |
/* distributions. */ |
/* distributions. */ |
10 |
/* */ |
/* */ |
11 |
/* Copyright 2002, 2003, 2004 by */ |
/* Copyright 2002, 2003, 2004, 2005 by */ |
12 |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
13 |
/* */ |
/* */ |
14 |
/* This file is part of the FreeType project, and may only be used, */ |
/* This file is part of the FreeType project, and may only be used, */ |
561 |
FT_Memory memory = source->memory; |
FT_Memory memory = source->memory; |
562 |
FT_GZipFile zip; |
FT_GZipFile zip; |
563 |
|
|
564 |
/* check the header right now, this prevents allocating un-necessary |
|
565 |
* objects when we don't need them |
/* |
566 |
*/ |
* check the header right now; this prevents allocating un-necessary |
567 |
|
* objects when we don't need them |
568 |
|
*/ |
569 |
error = ft_gzip_check_header( source ); |
error = ft_gzip_check_header( source ); |
570 |
if ( error ) |
if ( error ) |
571 |
goto Exit; |
goto Exit; |