[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Accessing FT_Stream API
From: |
armin |
Subject: |
Re: [ft-devel] Accessing FT_Stream API |
Date: |
Fri, 28 Jun 2019 17:21:21 +0100 |
>> Also, I just ran into the issue of `FT_Stream_OpenGzip' requiring the
>> stream to having a valid `memory' field, which is not provided by
>> `FT_Stream_OpenMemory' (for obvious reasons).
>
> This looks like a bug, both in documentation (which doesn't mention
> it) and implementation (which doesn't correctly check for a valid `memory'
> field).
>
>> Anyways ... would it be a good idea to add that requirement (a valid
>> `memory field') as defined precondition of `source' to
>> `FT_Stream_OpenGzip' etc.?
>
> Yes. Please provide a patch :-)
Sure, please find it attached :) -- were you thinking of something like
that? If so, I can gladly push it with a ChangeLog entry, otherwise I'd
kindly ask for change requests ;)
stream.patch
Description: Binary data