The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix command line utility for autotrace

These changes was commited to the Birdfont repository Tue, 25 Aug 2015 14:08:08 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Tue, 25 Aug 2015 14:08:08 +0000]

Updated Files

birdfont-autotrace/AutoTrace.vala
--- a/birdfont-autotrace/AutoTrace.vala +++ b/birdfont-autotrace/AutoTrace.vala @@ -164,10 +164,18 @@ public static int main (string[] arg) { AutoTrace autotrace; Preferences p; + + BirdFont.current_font = new Font (); p = new Preferences (); BirdFont.init_gettext (); + Theme.set_default_colors (); + + DrawingTools.background_threshold = new SpinButton (); + DrawingTools.background_scale = new SpinButton (); + DrawingTools.auto_trace_resolution = new SpinButton (); + DrawingTools.auto_trace_simplify = new SpinButton (); autotrace = new AutoTrace (arg);