You are not logged in.

#1 2007-10-26 19:09:57

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

Kicad and Wxgtk bug with fix.

Hi,

Im using Kicad but have a problem with printing postscript, which is a pain in the arse when trying to print PCB's.

The problem is to do with wxGTK and has been reported upstream sometime last year, I dont know why the wxwidgets team havent resolved the issue as it looks like a simple fix (coming from a non developer).

Can this fix be added to repo?

http://sourceforge.net/tracker/index.ph … tid=109863

wxGTK problem while printing wide traces.
When using wxPrintout:
printing wide traces show missing rounded end caps.
(Of course, this is not noticeable with narrow traces)

This is due to missing setlinecap setup in postscript
file created by wxGTK.

I suggest to add in /src/generic/dcpsg.cpp, after the
prolog ( after the line PsPrint( "%%EndProlog\n" );)
a setlinecap command like:

PsPrint("%%BeginSetup\n");
PsPrint( "1 setlinecap\n" );
PsPrint("%%EndSetup\n");

With this change, traces are Ok, they are drawn with
rounded end cap, as they do.

Ive tried to add this to flyspray, but get a error when signing up.. the irony.

Fatal error: Call to undefined function session_name() in /home/sites/archlinux/htdocs/flyspray-0.9.9.3/includes/class.flyspray.php on line 721

cheers

Offline

Board footer

Powered by FluxBB