The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch 'master' of github.com:johanmattssonm/birdfont

Changes made to libbirdfont/Glyph.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/Glyph.vala +++ libbirdfont/Glyph.vala @@ -182,6 +182,16 @@ } warning ("Layer is not added to glyph."); + } + + public bool has_svg_path () { + foreach (SvgBird.Object object in get_visible_objects ()) { + if (object is EmbeddedSvg) { + return true; + } + } + + return false; } public Gee.ArrayList<SvgBird.Object> get_visible_objects () {