414 |
FT_Memory memory = source->memory; |
FT_Memory memory = source->memory; |
415 |
FT_LZWFile zip; |
FT_LZWFile zip; |
416 |
|
|
417 |
|
/* check the header right now, this will prevent us from |
418 |
|
* allocating a huge LZWFile object (400 Kb of heap memory !!) |
419 |
|
* when not necessary. |
420 |
|
* |
421 |
|
* Did I mention that you should never use .Z compressed font |
422 |
|
* file ? |
423 |
|
*/ |
424 |
|
error = ft_lzw_check_header( source ); |
425 |
|
if ( error ) |
426 |
|
goto Exit; |
427 |
|
|
428 |
FT_ZERO( stream ); |
FT_ZERO( stream ); |
429 |
stream->memory = memory; |
stream->memory = memory; |