The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix SVG matrix transforms

Changes made to libbirdfont/Svg/SvgPath.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/Svg/SvgPath.vala +++ libbirdfont/Svg/SvgPath.vala @@ -32,7 +32,6 @@ public override void draw (Context cr, Color? c = null) { cr.save (); - apply_transform (cr); cr.new_path (); foreach (Points p in points) { @@ -44,7 +43,8 @@ } } - fill_and_stroke (cr); + apply_transform (cr); + paint (cr); cr.restore (); }