delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/29/16:13:10

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
MIME-version: 1.0
Message-id: <4EAC5E3C.2050100@unige.ch>
Date: Sat, 29 Oct 2011 22:12:44 +0200
From: Juergen Harms <Juergen DOT Harms AT unige DOT ch>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110930
Mageia/3.1.15-1.mga1 (1) Thunderbird/3.1.15
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] failed tests
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>
In-reply-to: <4EAB1F68.6060307@unige.ch>
Reply-To: geda-user AT delorie DOT com

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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019