delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/12/13/09:01:20

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] A workflow for gEDA PCB font symbol/glyph creation
In-reply-to: <CAHUm0tPyoT=u+i3N6mSjHmP9UMf-xdrjk1+kEP3PbBhVsbeKFQ@mail.gmail.com>
References: <CAHUm0tPyoT=u+i3N6mSjHmP9UMf-xdrjk1+kEP3PbBhVsbeKFQ AT mail DOT gmail DOT com>
Comments: In-reply-to "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Tue, 13 Dec 2016 23:57:32 +1030."
Mime-Version: 1.0
Message-Id: <20161213135952.3756D81075A5@turkos.aspodata.se>
Date: Tue, 13 Dec 2016 14:59:52 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Erich Heinzle:
> I have had some success in converting graphical depictions of
> lettering, i.e. from a simple picture, into gEDA PCB compatible font
> glyphs with the following technique.
...
> A .ppm format image with the glyphs/characters to be converted into a
> stroked font compatible with gEDA PCB needs to be found, and its
> dimensions in pixels, X, Y, noted
> 
> PCB is then loaded, with the .ppm image selected for background display
> 
> ./pcb-rnd --bg-image my_desired_symbols.ppm &
> 
> the board width and height must then be made a multiple of X and Y, to
> provide the correct aspect ratio for the exported symbols.
> 
> For simple sans serif fonts, the centreline of the glyph can be
> traced, to create a stroked, or centreline defined version of the
> font. Once a set of silk lines has been generated for a glyph, they
> can be selected, and copied into the paste buffer, being careful to
> have the cursor suitably positioned at the lower left hand corner of
> the glyph consistently for all glyphs processed, to ensure the
> vertical alignment of glyphs is properly preserved in the resulting
> font.
...

Instead of traceing by hand, have you tried:

 http://potrace.sourceforge.net/

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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