The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix SVG matrix transforms

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 @@ -1802,14 +1802,19 @@ color = p.color == null ? Color.black () : (!) p.color; p.draw_path (cr, color); } - } else { - o.draw (cr); } } cr.close_path (); cr.fill (); cr.restore (); + + // FIXME: layer transforms + foreach (Object o in get_visible_objects ()) { + if (!(o is PathObject)) { + o.draw (cr); + } + } foreach (Object o in active_paths) { if (o is PathObject) {