X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qMq2DCQL9EyBqXwnMq3lNP/dL5hi5z01GVZB/INSjI8=; b=xKlB9T1CutJgcPvsRZsFvlgX1J+V6BuhFRSEqq8rtOMrMfv1xX9Zy84YVIgSfvgh3J z2jdIhlFp85MxJYHAuKGeP9bSEcicI7BRy7RQj9DOkPGyPuag14yN2YwZKElKqHcC5rf 1wFHO8B29qu2oik0V1cVAtQnS0q2W/dKv1PfJoBCwNsqY6aiIIIZakpXYQyxFHf873Jx qs2SZsKnCrw86CwyXxcn3v/HxkZDgwxBbvKDCfK+sjWj2xMEfOWEDZzfxMY6IuI3vcTp 9eeCvMNsdsHaS51dNyOm/cQOL+3b7+OZhF6BoaCarBBvZj9vuLokvt4YsLxP7j8iPlNr Rfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qMq2DCQL9EyBqXwnMq3lNP/dL5hi5z01GVZB/INSjI8=; b=d/ZMHmXmfSP5aL1PJKic7tWGzZq+0w5oiNI9qEwxMJSxkSxzu0PyHMXjRbHe6Q4e1U OXx7vRkA60SA02lzQWV4Ly2lBoO2fFMMsst7Nl+2f+b+teYfA5AiTcVdrGnfJSncCGH0 sxPXjQO8HtShL6MxU/uACWfnhEHcsvp+Ko6wXSL8mjiNYnZS86Qrp+M6sFUalhsVXvk8 wsn/2NJTe9uQsQYV4IEnwQoYTJ/m2P83pPWfByowTscI0R5ibrABh4M/7WnflQqevicd aPQCcHeziuBq++BAgMKlsk92I6qsVw00DEX5RIJrfS8dS1KG0kwtmfU980FNwsn1WGpB xeGw== X-Gm-Message-State: AEkoousOUhOd3mABsCxb/utj4zmzcQac1L+lxEgOmxL5mRbPMZURPq70vhjTq3DB3URyTjWTczu5TOvctHi1HA== X-Received: by 10.202.95.5 with SMTP id t5mr8167710oib.38.1469748646128; Thu, 28 Jul 2016 16:30:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 29 Jul 2016 09:00:45 +0930 Message-ID: Subject: Re: [geda-user] [pcb] Font Characters Stored in pcb File? To: geda-user Content-Type: multipart/alternative; boundary=001a113ce2b2f6343b0538ba8504 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 Precedence: bulk --001a113ce2b2f6343b0538ba8504 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have been a bit snowed under with study commitments, but I've been sporadically working on a utility to convert (primarily) sans serif outline defined (i.e. ttf) font glyphs to stroked glyphs, which are more suited to plotters, i.e. cnc routers or gerber plotters http://vk5hse.blogspot.com/2016/06/outline-font-to-centreline-defined-font.= html https://github.com/erichVK5/outlineFont2centrelineFont My motivation was to have the osifont CAD compatible font available for use with gEDA. https://github.com/hikikomori82/osifont The KicadModule2GEDA utility uses the Hershey sans font to write text on footprint silkescreen layers that are defined in the kicad module; I'd like to have the osifont as the default as it is GPL2. My https://github.com/erichVK5/FootprintTextForPCB utility supports gothic, roman, cyrillic and greek hershey fonts. I'd like to add osifont support to it as well. The Hershey sans stroke font that has already been ported is quite good looking, and can be dropped in as a replacement for default_font in the PCB binary directory tree. The centerline font utility is at the point where I just need to find the hours to port the ASCII character set to a font file of symbols, at which point it could be dropped in, just like the already ported ones can be dropped in as alternative fonts. I don't like the Hebrew font I ported some time ago, as it was converted from the gnu unifont bitmapped font, so I'll probably do a conversion of the Hebrew alphabet from the osifont too. Regards, Erich. On Fri, Jul 29, 2016 at 5:48 AM, Kai-Martin Knaak wrote: > Chad Parker wrote: > > > Another solution might be to give the font a name, say, "pcb font 2016"= , > > and reference the name of the font in the text definition, or perhaps > > have a line somewhere in the file that specifies the font to use in the > > design. Then the fonts could be stored internal to pcb. If the font is > > tweaked, give it a new name. Existing layouts call out the old name, an= d > > get the intended font. > > I'd be happy to see this realized. It combines reliability with > flexibility. > > > > And if someone decided to implement other fonts > > at some point, it would also give the user a way to make a selection. > > Actually, there are already a couple of good looking alternative fonts > contributed by Erich Heinzle. See his page on gedasymbols.org > http://www.gedasymbols.org/user/erich_heinzle/ > (scroll down, to the very bottom of the page) > > However, there is no font handling available in pcb. Right now, you'd hav= e > to manually copy-paste the new font into the *.pcb file with a text > editor. > > ---<)kaimartin(>--- > -- > Kai-Martin Knaak tel: +49-511-762-2895 > Universit=C3=A4t Hannover, Inst. f=C3=BCr Quantenoptik fax: +49-511-= 762-2211 > Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de > GPG key: http://pgp.mit.edu:11371/pks/lookup?search=3DKnaak+kmk&op=3Dg= et > > > > --001a113ce2b2f6343b0538ba8504 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have been a bit snowed under with study commit= ments, but I've been sporadically working on a utility to convert (prim= arily) sans serif outline defined (i.e. ttf) font glyphs to stroked glyphs,= which are more suited to plotters, i.e. cnc routers or gerber plotters


My motiva= tion was to have the osifont CAD compatible font available for use with gED= A.

T= he KicadModule2GEDA utility uses the Hershey sans font to write text on foo= tprint silkescreen layers=C2=A0that are defined in the kicad module; I'= d like to have the osifont as the default as it is GPL2.

My = https://github.com/erichVK5/FootprintTextForPCB utility supports gothic= , roman, cyrillic and greek hershey fonts. I'd like to add osifont supp= ort to it as well.

The Hershey sans stroke f= ont that has already been ported is quite good looking, and can be dropped = in as a replacement for default_font in the PCB binary directory tree.

The centerline font utility is at the point where I ju= st need to find the hours to port the ASCII character set to a font file of= symbols, at which point it could be dropped in, just like the already port= ed ones can be dropped in as alternative fonts.

I = don't like the Hebrew font I ported some time ago, as it was converted = from the gnu unifont bitmapped font, so I'll probably do a conversion o= f the Hebrew alphabet from the osifont too.


Regards,

Erich.

On Fri, Jul 29, 2016 at 5:48 AM, Kai-= Martin Knaak <knaak AT iqo DOT uni-hannover DOT de> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding-= left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-le= ft-style:solid">Chad Parker wrote:

> Another solution might be to give the font a name, say, "pcb font= 2016",
> and reference the name of the font in the text definition, or perhaps<= br> > have a line somewhere in the file that specifies the font to use in th= e
> design. Then the fonts could be stored internal to pcb. If the font is=
> tweaked, give it a new name. Existing layouts call out the old name, a= nd
> get the intended font.

I'd be happy to see this realized. It combines reliability with<= br> flexibility.


> And if someone decided to implement other fonts
> at some point, it would also give the user a way to make a selection.<= br>
Actually, there are already a couple of good looking alternative fon= ts
contributed by Erich Heinzle. See his page on gedasymbols.org
=C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.gedasymbols.org= /user/erich_heinzle/
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (scroll down, to the very bottom of the = page)

However, there is no font handling available in pcb. Right now, you'd h= ave
to manually copy-paste the new font into the *.pcb file with a text
editor.

---<)kaimartin(>---
--
Kai-Martin Knaak=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: +49-511-762-2895
Universit=C3=A4t Hannover, Inst. f=C3=BCr Quantenoptik=C2=A0 =C2=A0 =C2=A0 = fax: +49-511-762= -2211
Welfengarten 1, 30167 Hannover=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://www.iqo.uni-hannover.de
GPG key:=C2=A0 =C2=A0 http://pgp.= mit.edu:11371/pks/lookup?search=3DKnaak+kmk&op=3Dget




--001a113ce2b2f6343b0538ba8504--