nameislocus / cakejs

Automatically exported from code.google.com/p/cakejs
0 stars 0 forks source link

Problem with my SVG file #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I test your library for my software.
I use France map in SVG format.

What steps will reproduce the problem?
1. in the demo (SVGparserTest), i replace the lion.svg with my file 
2. some paths and all texts don't display

The version is the version of demo
OS : Vista 64bits with FireFox 3.0

Thanks,

Bernard

Original issue reported on code.google.com by lr.b21...@gmail.com on 5 Jan 2009 at 8:53

Attachments:

GoogleCodeExporter commented 8 years ago
Excuse me.
The cake version is the version of repository.

Bernard

Original comment by lr.b21...@gmail.com on 5 Jan 2009 at 9:04

GoogleCodeExporter commented 8 years ago
Confirmed and fixed.

Your SVG has one path missing the initial M command (grep for <path d="1365)

Made cake.js ignore badly formed paths instead of crashing.

Thanks for the bug report!

Original comment by Ilmari.H...@gmail.com on 13 Jan 2009 at 9:39