Makeblock-official / mDrawBot

mDrawbot is a four-in-one drawing robotic kit, you can assembly into 4 different configuration drawing robots, learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v3.0
201 stars 149 forks source link

won't load svg files with text even if the text is converted to path first #18

Closed jonnolen closed 9 years ago

jonnolen commented 9 years ago

Built an svg with inkscape, choose generic sans-serif font.

path a: save file as plain svg. load in mdraw no image shows

path b: select text convert object to path save as plain svg load in mdraw path is garbled.

both files load correctly in chrome, firefox and safari.

Makeblock-official commented 9 years ago

The svg router is a home brew one, maybe not support all symbols in w3c standard. Would you please upload your svg file and i will look into it.

jonnolen commented 9 years ago

Here is a sample file: https://drive.google.com/file/d/0B0Ze0R5lw0KDY0lBZ19RVm9nRUE/view?usp=sharing

This is what it looks like in firefox: mozilla firefox 2015-06-03 18-52-22

this is what mdraw thinks it looks like: mdraw 2015-06-03 18-52-55

robbo1 commented 9 years ago

Looking at the svg file, mDraw does not know what to do with the "q" state in the path "d"

The letters without the "q" state rendered correctly

jonnolen commented 9 years ago

i'm going to attempt to dig into this and make it work.