[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40845: SVG rendering issues
From: |
Clément Pit-Claudel |
Subject: |
bug#40845: SVG rendering issues |
Date: |
Mon, 27 Apr 2020 12:04:31 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 27/04/2020 11.22, Alan Third wrote:
> On Sun, Apr 26, 2020 at 06:48:09PM -0400, Clément Pit-Claudel wrote:
>> On 26/04/2020 17.17, Alan Third wrote:
>>> I’m happy to give this a go, but I’m not sure about base64 encoding.
>>> Do we already have a way of doing that to a char buffer?
>>
>> We have base64-encode-region and base64-encode-string, which are
>> both C functions — but why do we need to base64 encode?
>
> We can’t just put the contents in directly […]
> as the file may (and probably should) have XML declarations at the
> start which break the SVG file. We could strip them out but I’m not
> sure that that’s better than base64 encoding, as it would mean
> modifying the contents and I’m not sure that’s the only thing that
> might cause problems.
Excellent point, I hadn't considered the xml declaration at the top.
- bug#40845: SVG rendering issues, (continued)
- bug#40845: SVG rendering issues, Eli Zaretskii, 2020/04/25
- bug#40845: SVG rendering issues, Clément Pit-Claudel, 2020/04/25
- bug#40845: SVG rendering issues, Eli Zaretskii, 2020/04/25
- bug#40845: SVG rendering issues, Clément Pit-Claudel, 2020/04/25
- bug#40845: SVG rendering issues, Alan Third, 2020/04/25
- bug#40845: SVG rendering issues, Pip Cet, 2020/04/25
- bug#40845: SVG rendering issues, Alan Third, 2020/04/26
- bug#40845: SVG rendering issues, Clément Pit-Claudel, 2020/04/26
- bug#40845: SVG rendering issues, Alan Third, 2020/04/27
- bug#40845: SVG rendering issues,
Clément Pit-Claudel <=
- bug#40845: SVG rendering issues, Eli Zaretskii, 2020/04/26