X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Date: Tue, 2 Mar 2021 17:41:18 +0100 (CET) From: Roland Lutz To: "karl AT aspodata DOT se [via geda-help AT delorie DOT com]" Subject: Re: [geda-help] Re: file format things In-Reply-To: <20210302160309.76DE982475BD@turkos.aspodata.se> Message-ID: References: <4b1d3d85-7f93-9eac-c4eb-9f84f2a47e61 AT bitflipper DOT ca> <20210225212042 DOT 16269 DOT qmail AT stuge DOT se> <20210226140333 DOT 7D5E78248737 AT turkos DOT aspodata DOT se> <20210302140448 DOT 4E18D82475BD AT turkos DOT aspodata DOT se> <20210302160309 DOT 76DE982475BD AT turkos DOT aspodata DOT se> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 2 Mar 2021, karl AT aspodata DOT se [via geda-help AT delorie DOT com] wrote: > Roland Lutz: >> The solution I favor would be to differentiate between "line width >> zero" which, as you explained, means the thinnest line width supported >> by the output device (or "no line" in the case of a filled closed >> path), and "there's no line width set, use the default width". > > The usual solution to "use default", sentinels etc. is to use an illegal > value, like -1, NULL, '\0', etc. For a line width, -1 would be suitable. > You "cannot" use zero, since mathematically, a line do have a width of > zero. Sounds sensible. This is still technically a file format change, though, since older schematics would otherwise be interpreted as having infinitely thin lines.