delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/05/22/00:03:40

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <4FBB0FF0.8060604@innocent.com>
Date: Tue, 22 May 2012 00:02:56 -0400
From: Gus Fantanas <fantanas AT innocent DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Rat Thickness and Trace Transparency in Updated PCB;
Other Questions
References: <4FB9B947 DOT 90404 AT comcast DOT net> <201205210344 DOT q4L3iNfC027519 AT envy DOT delorie DOT com> <4FB9C7CB DOT 8040700 AT innocent DOT com> <20120521160229 DOT GB4535 AT malakian DOT lan>
In-Reply-To: <20120521160229.GB4535@malakian.lan>
Reply-To: geda-user AT delorie DOT com

On 05/21/2012 12:02 PM, Andrew Poelstra wrote:
> On Mon, May 21, 2012 at 12:42:51AM -0400, Gus Fantanas wrote:
>> I recently upgraded to Ubuntu 12.04 LTS, which updated gEDA.
>> Everything works well except a couple of minor annoyances.  I may be
>> doing something wrong.  Here are my questions:
>>
>> 1.  I tried to change the default rat thickness in PCB by including
>> the line 'rat-thickness = 2' in the file '~/.pcb/preferences',
>> according to the online documentation (which may be out of date?).
>> This works as expected the first time I start PCB after that file
>> edit, but when I quit PCB, that line seems to disappear!  If I don't
>> re-edit '~/.pcb/prefernces', next time I start PCB the rats have
>> their default thickness.
>>
>
> To add to DJ's comment:
>
>
> Just putting '2', pcb will read it as 2nm. (This has been fixed by commit
> 8b59dba in February, to read anything<  100 as a pixel count, not a measure,
> but this change hasn't made it to release. Nor has the 'px' unit suffix.)
>
> And unless you're zoomed -very- far in, you won't see a 2nm line.
>
>
Well, I created the file '~/.pcb/settings', which did not exist before, 
and inserted the single line 'rat-thickness = 2px', per DJ's 
recommendation.  It worked; I don't see any errors in the log window, 
either, so I guess my PCB understands the 'px'?  Now, the thickness of 
the rat lines is where I want it and stays that way when I restart PCB.

What I don't understand is why the same line (sans 'px') added to 
'~/.pcb/preferences' worked once, but seemed to disappear when I quit PCB.

- Raw text -


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