www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/13/12:11:30

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 13 Mar 2017 17:12:53 +0100 (CET)
X-X-Sender: igor2 AT igor2priv
To: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] [pcb] [dev] misfeature/bug report: fontmode, a.k.a.
fontedit() is editing the wrong font
In-Reply-To: <CAJZxidAn+KM4gVOqQXaQq-qy=BvBoD8rGfT=TTn3y+-h+rKBfQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.00.1703131707230.27212@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1703130921040 DOT 27212 AT igor2priv> <CAJZxidAn+KM4gVOqQXaQq-qy=BvBoD8rGfT=TTn3y+-h+rKBfQ AT mail DOT gmail DOT com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1696020089-1489421573=:27212
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE



On Mon, 13 Mar 2017, Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user@=
delorie.com] wrote:

>
>
>      When the font editor is started, it first creates a new board,
>      then loads/converts the font. This means if the user has
>      replaced the font in a pcb, the font editor will still edit the
>      default font.=C2=A0
>
>
>In mainline, the default font isn't hard coded, it resides in a file. And
>the file that's used can be specified in the command line, so the user can
>load pcb with whatever font they want to edit.


Just like in pcb-rnd.

What I found confusing was this: you load a .pcb that has a specific font=
=20
(embedded in the .pcb file), and run FontEdit(); as an user I'd expect I=20
start editing the font I've last seen on screen. Instead, it loaded the=20
default font and started to edit that.


>      What's the intended method for saving the font to a file? Save
>      the dummy pcb, then cut it out with a text editor?
>
>
>At the moment, yes. I'm planning to fix this in my font branch, but haven'=
t
>gotten around to it yet.

(Thanks; meanwhile fixed this in pcb-rnd trunk/, FontSave() now offers a=20
file selection dialog and saves the result in the specified file)

Regards,

Igor2
--0-1696020089-1489421573=:27212--

- Raw text -


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