[Cuis-dev] SVG Icons

Juan Vuletich juan at jvuletich.org
Thu Dec 16 08:02:16 PST 2021


On 12/16/2021 5:13 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Thanks Juan,
>
> Yes, it works nicely. It fixes the rendering of a few other icons too.
>
> Included here is another icon not rendering correctly with SVG 
> package. Seems related to surface with hole.
>
> Hilaire
>

I see. I was taking slightly different criteria for closing a path and 
opening a new one. In this SVG, all the marks were considered part of a 
single (not correctly closed) path, and therefore fill "paint" leaked. I 
changed it to follow what Chrome seems to be doing, considering that 
each "move" command closes current path and opens a new one. Now the 
artifact is gone.

Updated VectorGraphics package is at GitHub.

Thanks!

> Le 15/12/2021 à 19:07, Juan Vuletich a écrit :
>>>
>>> The resulting form does not have the right scale. It looks like it 
>>> is cropped then scaled to 60 at 60, so it is oversized.
>>>
>>
>> Please try again. I think I fixed it correctly.
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211216/d6589631/attachment.htm>


More information about the Cuis-dev mailing list