On Wed, Oct 8, 2014 at 1:02 PM, Robert O'Callahan <robert@ocallahan.org>
wrote:
> On Tue, Oct 7, 2014 at 11:10 PM, Behdad Esfahbod <behdad@google.com>
> wrote:
>
>> On Tue, Oct 7, 2014 at 10:37 PM, Robert O'Callahan <robert@ocallahan.org>
>> wrote:
>>
>>> On Tue, Oct 7, 2014 at 1:36 AM, Behdad Esfahbod <behdad@google.com>
>>> wrote:
>>>
>>>> Robert, Jonathan, are you willing to support this in Firefox?
>>>>
>>>
>>> I'm not sure what exactly your proposal is. As I understand it, you're
>>> proposing to allow each SVG document to be optionally, independently
>>> compressed via zlib.
>>>
>>
>> I was thinking gzip instead of zlib, since gzip-compressed svg is in
>> common use as sgvz.
>>
>>
>>> How does the UA distinguish compressed documents from not-compressed
>>> documents?
>>>
>>
>> If the data stream starts with 0x1f 0x8b (gzip signature), then process
>> as svgz, otherwise process as svg.
>>
>
> That sounds reasonable.
>
> The gzip header contains the uncompressed data size.
>
Great point. Thanks Rob. The *last* four bytes of the gzip-compressed
data is the uncompressed size.
Doesn't that mean concerns about knowing the uncompressed size are already
> addressed?
>
I hope so. Sairus, Leonard, does that address your concerns?
Rob
>