soflyy / breakdance-bugs

Bug reports from Breakdance users.
40 stars 6 forks source link

Adding svg icons from icomoon broken #999

Open dreadedhamish opened 9 months ago

dreadedhamish commented 9 months ago

Importing icon definitions from icomoon fails. Tested using an icon from the icomoon free pack - so there isn't with the icon itself. Tested multiple and single. Tested with the downloaded SVG, and also cutting and pasting the definitions to a new SVG.

To reproduce:

  1. Creat and Load New Project in icomoon.
  2. "Add Icons from Library"
  3. Select "IcoMoon - Free"
  4. Add a single icon to collection.
  5. Click "Generate Font" and download
  6. Extract SVG from downloaded ZIP file.
  7. Add using Icon Manager

Result - Empty icon imported. Can be used on page.

  1. Repeated for multiple selections:

Result: Single empty icon imported. Error when using on page.

  1. On IcoMoon select tab "Generate SVG and More"
  2. click "svg defs size..."
  3. Cut and paste "defns" to a new SVG file
  4. Import to Breakdance

Result: single empty icon.

Breakdance 1.6.1