delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Date: | Sat, 29 Oct 2011 17:18:33 -0700 |
From: | Andrew Poelstra <asp11 AT sfu DOT ca> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] failed tests |
Message-ID: | <20111030001833.GA25188@malakian.lan> |
References: | <4EA96FC8 DOT 1080305 AT unige DOT ch> |
<20111027160001 DOT GA987 AT malakian DOT lan> | |
<4EA9AD37 DOT 8070204 AT unige DOT ch> | |
<20111027201819 DOT GC987 AT malakian DOT lan> | |
<4EAADBAB DOT 6090803 AT unige DOT ch> | |
<4EAB00EC DOT 8060003 AT mucharuina DOT com> | |
<4EAB1F68 DOT 6060307 AT unige DOT ch> | |
<4EAC5E3C DOT 2050100 AT unige DOT ch> | |
MIME-Version: | 1.0 |
In-Reply-To: | <4EAC5E3C.2050100@unige.ch> |
User-Agent: | Mutt/1.5.20 (2009-12-10) |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, Oct 29, 2011 at 10:12:44PM +0200, Juergen Harms wrote: > I did nevertheless some more digging: the problem seems clearly to > be a bug in the "fprintAperture" procedure of gerber.c: > > The new version prints floating-point values in gerber output using > the %mi format (locale dependant radix decimal "point"): > - for GUI (interactive) output, pcb apparently forces this to a ".", > - in non-GUI mode pcb really outputs the current locale for the > decimal point is (a "," in my case - Austria). > > As a consequence and if the locale is different from the ".", the > Gerber files produced by command-line "pcb -x gerber" have a comma > where gerber format certainly expects a dot). > > My old version of pcb uses the old %f format - no problem there. I > will have to find out how to submit a bug on pcb. > Thank you for your thorough investigation! This would have been quite an adventure to track down without your help. This weekend is very busy for me, and I likely won't get a chance to work on this bug until Wednesday or Thursday. Perhaps another developer would like to take a look at it. The solution is probably to add a flag to the %mi specifier to force it to output a '.'. The bug tracker is at: http://www.launchpad.net/pcb -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew "I don't understand. Are you saying dualism is always good, or always bad?"
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |