View previous topic :: View next topic |
Author |
Message |
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Wed Jul 11, 2012 2:01 pm Post subject: Chart Lines Thicker |
|
Hi Patrick,
Just compared a graph I printed a while ago with an updated version of the same graph printed today and noticed that some of the lines are thicker now.
Specifically the chart grid lines are thicker and also the black lines round the data point shapes.
I attach a test sheet and screen shots of the same chart in NeoOffice 3.2.1 w Java and 3.3 Beta.
Andy |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Jul 11, 2012 2:10 pm Post subject: |
|
I can reproduce this on my machines. I will put this in my queue to investigate.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Jul 11, 2012 5:36 pm Post subject: |
|
I think that I have fixed this bug. It was caused by the Mac OS X line drawing functions drawing lines 2 pixels wide when antialiased drawing is enabled. I fixed the bug by shifting the drawing coordinates down and to the right by half of the line width.
Can you install the test patch and tell us if the bug is fixed for you?:
Intel:
http://sally.neooffice.org/test/NeoOffice-3.3_Beta-Patch-0-Test-7-Intel.dmg
Patrick |
|
Back to top |
|
|
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Thu Jul 12, 2012 2:23 am Post subject: |
|
Patch 0 Test 7 has fixed the thick lines problem for me.
Thanks.
Andy |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Jul 13, 2012 9:56 am Post subject: |
|
FYI. I have included the fix for this bug in NeoOffice 3.3 Beta Patch 1. You can download the patch from the NeoOffice 3.3 Beta patch download page.
Patrick |
|
Back to top |
|
|
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Sat Jul 14, 2012 2:32 am Post subject: |
|
Unfortunately, the fix only seems to work on screen in NeoOffice. Printing still shows thicker lines.
I attach two screen shots of the graph from Print->PDF->Open in Preview.
Sorry I didn't spot this earlier.
Andy |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Jul 14, 2012 9:02 am Post subject: |
|
Printing is really a PDF and PDF supports much higher resolution drawing than any screen does. So, by default, Preview will use its own antialiasing algorithm to draw high resolution lines to a low resolution screen.
To see what is really going to be printed, press Preview's zoom in toolbar button 4 times. If you do that for the same print output in NeoOffice 3.3 Beta Patch 1 and NeoOffice 3.2.1 Patch 7, do they still look different? If so, can you post screen snapshots at that level of zooming in Preview?
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Jul 14, 2012 3:05 pm Post subject: |
|
Ignore my last comment. I now know what is causing this bug and I will post a test patch in the next day or two.
After printing to PDF files in both NeoOffice 3.3 Beta and NeoOffice 3.2.1 and then zooming way into both, I can see that the lines are crisp when zoomed in. The bug is that my new "de-Javafied code" is setting the line width to a different width when printing than when displaying to the screen.
Patrick |
|
Back to top |
|
|
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Sat Jul 14, 2012 3:28 pm Post subject: |
|
Ok. I'd just taken screen shots to show you the problem, but I'll not post them now!
Glad you found the problem.
Cheers,
Andy |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Sun Jul 15, 2012 3:20 pm Post subject: |
|
I've installed Patch 1 Test 1 and now the PDF files produced by both NeoOffice 3.3B and NeoOffice 3.2.1 Patch 7 are identical when zoomed in 4 times in Preview.
Thanks.
Andy |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Mon Jul 23, 2012 3:54 pm Post subject: |
|
FYI. I have included the fix this bug in NeoOffice 3.3 Beta 2 which you can download from the NeoOffice download page.
Patrick |
|
Back to top |
|
|
|