Re: gEDA-user: gschem text line spacing in postscript

2010-02-25 Thread Duncan Drennan
This one adds a 12% leading to the text spacing for print, causing it to pretty well match my on-screen leading. YMMV depending on what fonts your system chooses. This patch works beautifully. I tried it out with the font scaling set to 1.0 and 1.3 and the result was consistent line spacing

Re: gEDA-user: gschem text line spacing in postscript

2010-02-24 Thread Peter TB Brett
On Tue, 23 Feb 2010 22:36:48 +, Peter Clifton pc...@cam.ac.uk wrote: BUT.. this should also be using the gEDA font size - points conversion. The 13 vs 13.89 discrepency is already incorporated in the 1.3 factor shipped by default. If I remember correctly, printed line spacing was

gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Duncan Drennan
Hi, I noticed a small issue with the line spacing in the postscript output of gschem. It appears to be that the text line spacing is not consistent with the font scaling when output to postscript. Here is a screenshot to show the difference between the gschem scaling and the output postscript

Re: gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Peter Clifton
On Tue, 2010-02-23 at 22:07 +0200, Duncan Drennan wrote: Hi, I noticed a small issue with the line spacing in the postscript output of gschem. It appears to be that the text line spacing is not consistent with the font scaling when output to postscript. Here is a screenshot to show the

Re: gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Peter Clifton
On Tue, 2010-02-23 at 22:01 +, Peter Clifton wrote: Hmm... this will all be fixed when I get my backside into gear and finish up the cairo printing support... until then, I'm not sure.. It might be something we can fix in the existing printing code, but it could also just be a failing of

Re: gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Peter Clifton
The attached patch should make things a little closer between on-screen and print-out. Apparently this isn't the whole story though, on my box at least, Pango seems to be using a little inter-line spacing. The calculations with this patch assume that a 12 point font has 12/72 inches between each

Re: gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Peter Clifton
On Tue, 2010-02-23 at 23:02 +, Peter Clifton wrote: The attached patch should make things a little closer between on-screen and print-out. Apparently this isn't the whole story though, on my box at least, Pango seems to be using a little inter-line spacing. The calculations with this

Re: gEDA-user: gschem text line spacing in postscript

2010-02-23 Thread Duncan Drennan
This one adds a 12% leading to the text spacing for print, causing it to pretty well match my on-screen leading. YMMV depending on what fonts your system chooses. Thanks Peter, I'll try it out and give you some feedback. Regards, Duncan ___