www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/07/26/21:47:09

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Kai-Martin Knaak <kmk AT familieknaak DOT de>
Subject: Re: [geda-user] [pcb] Font Characters Stored in pcb File?
Date: Wed, 27 Jul 2016 03:45:48 +0200
Lines: 31
Message-ID: <nn93od$4eq$1@ger.gmane.org>
References: <CAJZxidBW-vrfi60oSAEjw-+rzFp-9+cOE8Mf9fu+9F7pGVT7ww AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: a89-182-55-137.net-htp.de
User-Agent: KNode/4.14.10
Reply-To: geda-user AT delorie DOT com

Chad Parker wrote:

> I noticed that when I save a brand new pcb file (File->New,
> File->Save As...) with nothing in it, just a completely empty file,
> that the file was actually 30k. When I looked at it, I saw that
> there appears to be the definition for the default font stored in
> the file.
>
> I was just curious about why this is? What were the considerations
> that factored into this design decision? I apologize if I missed
> this somewhere in the docs.
> 
IMHO, the intention is to make sure layouts  stay exactly the same if 
the pcb it is opened with a different version of pcb. This different 
(future) version may be equipped with a different default font. 

A change of fonts is potentially disruptive as text can be placed in 
copper. E.g. a wider font may cause shorts with traces. However, 
because the font actually used is embedded in the file, all copper 
will come out as intended.

That said, when I edit pcb files manually, I find the 30 kB font 
section slightly awkward, too. A solution to achieve a more "clean" 
layout file while still maintaining reliability would be to declare 
the current default font in pcb source to be "static". Developers 
would vow to never change it in future versions of pcb. This is less 
ludicrous than it sounds. There are many more aspects that are never 
to be changed if we want to make sure that old designs still render 
the same with future versions of pcb.

---<)kaimartin(>---

- Raw text -


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