Author Topic: Patch for linux printing crash uploaded  (Read 4622 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Patch for linux printing crash uploaded
« on: February 10, 2008, 12:58:27 pm »
I just uploaded a patch for bug #13054, also described here.

Patch

The patch is tested with wxWidgets 2.8.7 on W2K and debian 64-bit and will be tested on debian 32-bit if .deb's are compiled.
« Last Edit: February 10, 2008, 01:06:37 pm by jens »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Patch for linux printing crash uploaded
« Reply #1 on: February 11, 2008, 09:46:36 am »
great work !!!!

I can confirm this works, finally I can print on linux.
Will commit soon ;-)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Patch for linux printing crash uploaded
« Reply #2 on: February 12, 2008, 10:31:47 am »
something I have noticed is the following (printing on linux, I think on windows it does not happen, but will have to check) :

- the ; are put too shortly after the word the follow
- the ( are put too shortly after the word the follow , sometimes above the last character they follow  [Method()]
- the * are put too shortly after the word the follow , sometimes above the last character they follow [Pointer* ]
- the & are put too shortly after the word the follow , sometimes above the last character they follow [reference& ]

When printing in color you can sort of recover from this with your eyes ;-), but black on white is bad ....

Any ideas ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Patch for linux printing crash uploaded
« Reply #3 on: February 12, 2008, 03:48:59 pm »
I think there is a problem with getting the resolutions for the printer and therefore the Scaling of the DC.

If I turn off ScaleDC it works on Linux, but on Windows the output is somewhat small.

I can have a look at it during the week or the next weekend.

If I have a monospaced font with 8pt or no colour-changing in a line (e.g. in comments) everything looks fine.