Thanks again Mark. Just a small oops. The two usage messages are different - only one of them includes the units option.
On Sunday 20 Jun 2010, Mark Thomas wrote: > New development version released to include the ability to use inches > (flag -i) on the command line. Also fixed a problem with the offset > calculation when using inches. > > http:co-japan.com/metalworking > > Correct file is tttscale-002.c > > Cheers, > > Mark > > Mark Thomas wrote: > > Andrew wrote: > >> Thanks Mark. > >> > >> I've taken the liberty of modifying the code to allow input from stdin. > >> > >> http://www.andyshelley.co.uk/tttscale.c > >> > >> On Thursday 17 Jun 2010, Mark Thomas wrote: > >>> Not sure how many of you use Chris Radek's truetype-tracer program, but > >>> I do use it a fair bit. The one thing I've wanted to do is be able to > >>> set a scale to the output. Of course you can rescale in any cad > >>> program, but I thought it might be convenient to be able to generate to > >>> a scale or overall length. > >>> > >>> Decided to hobble up a little utility program that will do just that, > >>> I've called it tttscale and it intended to be used only with the file > >>> generated by truetype-tracer-dxf. > >>> > >>> The program lets you specify the overal length of the string along the > >>> X axis, as well as letting you specify an X and Y offset. I've tested > >>> the output with qcad and dxf2gcode and haven't had a problem. > >>> > >>> I've stressed tested it a bit generating some very large font strings > >>> (150 meters in length) and some very small (0.1mm) nice thing about > >>> true type fonts is that they scale beautifully. > >>> > >>> If you'd like to give it a go you can download the c source file from: > >>> > >>> http://co-japan.com/metalworking > >>> > >>> I've include compiling instructions at the top of the file. > >>> > >>> Cheers, > >>> > >>> Mark > >>> > >>> ----------------------------------------------------------------------- > >>>---- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate > >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > >>> lucky parental unit. See the prize list and enter to win: > >>> http://p.sf.net/sfu/thinkgeek-promo > >>> _______________________________________________ > >>> Emc-users mailing list > >>> Emc-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/emc-users > >> > >> ------------------------------------------------------------------------ > >>------ ThinkGeek and WIRED's GeekDad team up for the Ultimate > >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > >> lucky parental unit. See the prize list and enter to win: > >> http://p.sf.net/sfu/thinkgeek-promo > >> _______________________________________________ > >> Emc-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > > Good one Andrew, thanks for that, was on my to-do list, if you don't > > mind I'll update the download on my site as well to reflect your changes. > > > > Cheers, > > > > Mark > > > > ------------------------------------------------------------------------- > >----- ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > --------------------------------------------------------------------------- >--- ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users