The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 25 Aug 2015 14:08:08 +0000 (16:08 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Tue, 25 Aug 2015 14:08:08 +0000 (16:08 +0200)
commit 85f29bac5ff0c16d3a5f8189c1c9d634e32905b8
tree e31dcdaba2c5660f0f39a66ffc7847ecb09e74dc
parent b012a6f10043055fd4e3c5b0062629f6a226c0dd
Fix command line utility for autotrace

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);