Mail Archives: geda-user/2016/12/13/09:01:20
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 -