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
- Select all layers (
ctrl-alt-a). Click the lock button to lock height/width ratio. Change units to mm and set height to 100.
File > Document Properties...select
Resize page to contentdrop-down and click
Resize 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 (
Extensions > Modify Path > Add Nodesleave defaults and click
Extensions > Modify Path > Flatten Beziersleave defaults and click
Apply. (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 Asfrom the
- In Eagle, type
markand click a location.
run svg2poly 0.1and select the file created above.
- Observe result. In this case a triangular shape instead of an 'l'. (Again, it's
sans-serifso 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?