I'm working with Eagle 7.7.0 and trying to import SVG files using svg2poly to put a logo on the silkscreen. To aid in the process, I've downloaded the current version of Inkscape, which is 0.92. I'm working from a combination of the instructions on the GitHub site and this tutorial from SparkFun.
The short version of the problem is that I can import shapes just fine, but any text in the SVG file is either muddled beyond recognition or missing completely. I've tried different fonts, including the default sans-serif
, and different sizes. I followed the instructions for breaking the closed-loop letters into multiple open shapes, and that had no impact. As an ultra-simple case, I tried to import an SVG that was just a lower-case 'l', which is essentially just a rectangle in sans-serif
, and even that did not work. (Came out as a triangular shape.)
The only things that I see that are different between what I'm doing and what's published:
- I'm using the current Inkscape (0.92) and the instructions are for "Inkscape 0.47 or newer". Are there any known problems for with the newest version? Is there perhaps some trick to making text work that's not documented?
- I'm drawing / typing my examples directly in Inkscape, whereas some of the online guides talk about importing SVG that was made with a different program.
More detailed description of steps for the simple case with just lower-case 'l':
- Open Inkscape. Make text area and type lower-case 'l'. Change font size to 72, but leave font as
sans-serif
. - Select all layers (
ctrl-alt-a
). Click the lock button to lock height/width ratio. Change units to mm and set height to 100. - Under
File > Document Properties...
selectResize page to content
drop-down and clickResize page to drawing or selection
. - Convert object to path (
shift-ctrl-c
). Ungroup (shift-ctrl-g
). Repeat ungroup a few times. (For this simple case, nothing seems to ungroup. When I had a whole word there in an earlier trial, the individual letters each became their own entity.) - Select all nodes (
F2
followed byctrl-a
). SelectExtensions > Modify Path > Add Nodes
leave defaults and clickApply
. SelectExtensions > Modify Path > Flatten Beziers
leave defaults and clickApply
. (Neither of these steps made any obvious change for the single 'l' or for larger cases with whole words.) - The single 'l' has no closed loops, so I skipped the related steps for that. (When I had whole words, I did follow these steps.)
- Export as "Plain SVG" using
Save As
from theFile
menu. - In Eagle, type
mark
and click a location. - Type
run svg2poly 0.1
and select the file created above. - Observe result. In this case a triangular shape instead of an 'l'. (Again, it's
sans-serif
so the original was basically a rectangle.)
In some cases with more text, I got apparently random polygons. Maybe a few looked vaguely like letters.
Are their known issues with svg2poly
and newer versions of Inkscape? Are there undocumented tricks that I need to make this work?