FT_Stream_Skip( FT_Stream stream, FT_Long distance ) { if ( distance < 0 ) return FT_Err_Invalid_Stream_Operation; return FT_Stream_Seek( stream, (FT_ULong)( stream->pos + distance ) ); }
FT_Stream_Skip( FT_Stream stream, FT_Long distance ) { if ( distance < 0 ) return FT_THROW( Invalid_Stream_Operation ); return FT_Stream_Seek( stream, stream->pos + (FT_ULong)distance ); }
static FT_ULong ft_gzip_get_uncompressed_size( FT_Stream stream ) { FT_Error error; FT_ULong old_pos; FT_ULong result = 0; old_pos = stream->pos; if ( !FT_Stream_Seek( stream, stream->size - 4 ) ) { result = (FT_ULong)FT_Stream_ReadLong( stream, &error ); if ( error ) result = 0; (void)FT_Stream_Seek( stream, old_pos ); } return result; }
FT_Seek_Stream(FT_Stream stream, FT_ULong pos) { return FT_Stream_Seek(stream, pos); }
FT_Stream_Skip( FT_Stream stream, FT_Long distance ) { return FT_Stream_Seek( stream, (FT_ULong)( stream->pos + distance ) ); }