← Back to team overview

kicad-developers team mailing list archive

Re: question on PCB Text


----- Original Message -----

> From: Lorenzo Marcantonio <l.marcantonio@xxxxxxxxxxxx>
> To: Cirilo Bernardo <cirilo_bernardo@xxxxxxxxx>; Kicad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Cc: 
> Sent: Sunday, December 16, 2012 10:22 PM
> Subject: Re: [Kicad-developers] question on PCB Text
> On Sat, Dec 15, 2012 at 01:32:34PM -0800, Cirilo Bernardo wrote:
>>  I have some questions on PCB text - how is this formed on the copper layers 
> and on the silk layers? Is an internal font used or can any arbitrary font be 
> used?  If it's an internal font, where can I find the specifications?
> The internal font is hershey-based and coded in the executables, so
> you'll need the sources to obtain it. The hershey vectors are generated
> from a special eeschema library using some scripts (I don't know the
> details).
> If you just want to use the same vector font look in common/drawtxt.c,
> it's not actually very difficult (it's a simple moveto/lineto sequence
> of commands)
> Have fun,
> -- 
> Lorenzo Marcantonio
> Logos Srl

Thanks Lorenzo, that's exactly what I needed. :)

- Cirilo