[Pharo-dev] Bug in the Athens' SVG support?

Alexandre Bergel alexandre.bergel at me.com
Mon Nov 18 05:51:43 EST 2013


Hi!

I think I found in a bug in the SVG importer of Athens. For example, the following raises an error:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
root := ASVGRoot new.
root addShape: (ASPath new d: 'M270.973,462H143.477c-32.299-74.869-58.074-152.899-62.494-282.84').
(ASVGMorph new svg: root) openInWindow
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Also, using the attached file, I try:
(ASVGMorph fromFile: 'iconmonstr-coffee-icon.svg') openInWindow

and get an error, whereas the file seems to be alright. 

I've spent some time yesterday, but I could not fix this :-(

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: iconmonstr-coffee-icon.svg
Type: image/svg+xml
Size: 1001 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131118/193a6b81/attachment.svg>


More information about the Pharo-dev mailing list