The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Import SVG files on the current layer

These changes was commited to the Birdfont repository Fri, 24 Jun 2016 15:45:05 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 24 Jun 2016 15:45:05 +0000 (17:45 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 24 Jun 2016 15:45:05 +0000 (17:45 +0200)
commit 0c8dd22e9f5d4eccfe94e5bebd7683414a73018b
tree 01c4134ae3cb3b84aea7370581f09bc87eadf851
parent 5dfcb0be2b44d26ff229198a1b27d12260a4649b
Import SVG files on the current layer

libbirdfont/SvgParser.vala
--- a/libbirdfont/SvgParser.vala +++ b/libbirdfont/SvgParser.vala @@ -65,14 +65,7 @@ public static void import_color_svg (Glyph glyph, string path) { EmbeddedSvg drawing = SvgParser.parse_embedded_svg_file (path); - - Layer layer = new Layer (); - layer.name = "SVG"; - layer.add_object (drawing); - - glyph.add_layer (layer); - - // FIXME: update GUI + glyph.add_object (drawing); } public static void import_folder (SvgType type) {