Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-23 Thread Armin Faltl
As fonts are required from all CAD systems, here a posting from Varkon 
list ;-)


> Hi.
>
> I created free ISO 3098 compatible ttf font for use in free CAD 
programs. The project page is http://code.google.com/p/osifont/, you can 
check it out and eventually included in your CAD project.

>
> hikikomori82 at gmail dot com 

This font is required for drawings by certain institutions.



Ineiev wrote:

On 11/22/10, Mark Rages  wrote:
  

On Mon, Nov 22, 2010 at 1:29 PM, Colin D Bennett  wrote:


How hard would it be to make use of the freetype library to handle all
vector-based fonts?  I imagine the font outlines could be converted to
line elements fairly easily... ?

  

pcb's fonts are special:  they are a single line wide.  When you need
the smallest letters that a given silk process can print legibly, you
want those single-line fonts.

For larger fonts, freetype would be great, and save us the
machinations of creating the text in inkscape or something and
importing it with pstoedit.



Discuss also using QCAD fonts, please.

Cheers,
Ineiev


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

  



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-22 Thread Ineiev
On 11/22/10, Mark Rages  wrote:
> On Mon, Nov 22, 2010 at 1:29 PM, Colin D Bennett  wrote:
>> How hard would it be to make use of the freetype library to handle all
>> vector-based fonts?  I imagine the font outlines could be converted to
>> line elements fairly easily... ?
>>
>
> pcb's fonts are special:  they are a single line wide.  When you need
> the smallest letters that a given silk process can print legibly, you
> want those single-line fonts.
>
> For larger fonts, freetype would be great, and save us the
> machinations of creating the text in inkscape or something and
> importing it with pstoedit.

Discuss also using QCAD fonts, please.

Cheers,
Ineiev


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-22 Thread Peter Clifton
On Mon, 2010-11-22 at 11:29 -0800, Colin D Bennett wrote:
> On Sun, 21 Nov 2010 17:45:31 +

> How hard would it be to make use of the freetype library to handle all
> vector-based fonts?  I imagine the font outlines could be converted to
> line elements fairly easily... ?

It is something which has been done / is being / has been worked on:

http://sourceforge.net/tracker/?func=detail&aid=2684726&group_id=73743&atid=538813#


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-22 Thread Mark Rages
On Mon, Nov 22, 2010 at 1:29 PM, Colin D Bennett  wrote:
> On Sun, 21 Nov 2010 17:45:31 +
> Peter Clifton  wrote:
>
>> The future is not using gsch2pcb to make a PCB file directly of
>> course, DJ has been working on a better import mechanism, which we
>> should teach gsch2pcb to make use of. (Which would then make PCB
>> create the file).
>>
>> In this idealised version of the future, the only immediate way you
>> would have to override the font is to edit PCB's default font,
>>
>> $PREFIX/share/pcb/default_font
>
> How hard would it be to make use of the freetype library to handle all
> vector-based fonts?  I imagine the font outlines could be converted to
> line elements fairly easily... ?
>

pcb's fonts are special:  they are a single line wide.  When you need
the smallest letters that a given silk process can print legibly, you
want those single-line fonts.

For larger fonts, freetype would be great, and save us the
machinations of creating the text in inkscape or something and
importing it with pstoedit.

Regards,
Mark
markra...@gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
markra...@midwesttelecine.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-22 Thread Colin D Bennett
On Sun, 21 Nov 2010 17:45:31 +
Peter Clifton  wrote:

> The future is not using gsch2pcb to make a PCB file directly of
> course, DJ has been working on a better import mechanism, which we
> should teach gsch2pcb to make use of. (Which would then make PCB
> create the file).
> 
> In this idealised version of the future, the only immediate way you
> would have to override the font is to edit PCB's default font,
> 
> $PREFIX/share/pcb/default_font

How hard would it be to make use of the freetype library to handle all
vector-based fonts?  I imagine the font outlines could be converted to
line elements fairly easily... ?

As a first step, could the existing pcb font file be pre-generated
using freetype and an OpenType or TrueType font?

Then, as a second (and larger) step, pcb could use freetype directly
and have access to multiple fonts and totally simplify the user's life,
not requiring pregenerated pcb-format fonts.

Regards,
Colin


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-21 Thread Peter Clifton
On Sun, 2010-11-21 at 02:03 -0800, Cory Cross wrote:
> Symbol('s' 10)
> (
>  SymbolLine(0 50 20 50 8)
>  SymbolLine(20 50 25 45 8)
>  SymbolLine(20 40 25 45 8)
>  SymbolLine(5 40 20 40 8)
>  SymbolLine(0 35 5 40 8)
>  SymbolLine(0 35 5 30 8)
>  SymbolLine(5 30 25 30 8)
> )

Tried it, and prefer the original. The weight of the ends of the glyph
stroke seem wrong, and need shortening. I tried this and realised the
whole glyph is just too wide, and is out of proportion. I came up with
this:

Symbol('s' 8)
(
SymbolLine(2 50 18 50 8)
SymbolLine(18 50 23 45 8)
SymbolLine(18 40 23 45 8)
SymbolLine(5 40 18 40 8)
SymbolLine(0 35 5 40 8)
SymbolLine(0 35 5 30 8)
SymbolLine(5 30 21 30 8)
)

It still isn't perfect by any means, and I would be tempted to
re-introduce the inflections on the end of the stroke which your glyph
removed. (Keeping them small though).


To make gsch2pcb pick it up, you would need to adjust the template file
in $PREFIX/share/gEDA/scheme/gnet-gsch2pcb.scm

(OR change PCB's default font file).

The gsch2pcb template is currently based on a VERY old PCB file format,
and would need updating. Once you've done that, you can include the font
block from a more modern PCB file, but you will have to define every
glyph.

The future is not using gsch2pcb to make a PCB file directly of course,
DJ has been working on a better import mechanism, which we should teach
gsch2pcb to make use of. (Which would then make PCB create the file).

In this idealised version of the future, the only immediate way you
would have to override the font is to edit PCB's default font,

$PREFIX/share/pcb/default_font


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: If you also think the PCB lower-case letter 's' is ugly, here's a replacement

2010-11-21 Thread Cory Cross

Hi all,

I've always hated the lower-case letter 's' in PCB, but couldn't come up 
with a better one until now. And if anyone knows where I could put it to 
make gsch2pcb use it, I'd be much obliged.


Cory

Symbol('s' 10)
(
SymbolLine(0 50 20 50 8)
SymbolLine(20 50 25 45 8)
SymbolLine(20 40 25 45 8)
SymbolLine(5 40 20 40 8)
SymbolLine(0 35 5 40 8)
SymbolLine(0 35 5 30 8)
SymbolLine(5 30 25 30 8)
)


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user