Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Difference between Grid and Label border size
Difference between Grid and Label border size [message #1416131] Thu, 04 September 2014 11:51 Go to next message
Erick Green is currently offline Erick GreenFriend
Messages: 3
Registered: September 2014
Junior Member
Hi,

I'm using BIRT to generate PDF reports. I've noticed a difference between border size of Grid and Label elements. To visualize this problem I've created a grid with 3 rows and 2 labels. Every row and label has a solid bottom border with different size. Can somebody explain me why 1px border of label is much thinner than 1px border of grid row?


index.php/fa/19049/0/
Re: Difference between Grid and Label border size [message #1416243 is a reply to message #1416131] Thu, 04 September 2014 17:00 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What is your BIRT version? In 4.4.0, they are consistent no matter the element.

Michael

Developer Evangelist, Silanis
Re: Difference between Grid and Label border size [message #1417353 is a reply to message #1416243] Fri, 05 September 2014 08:38 Go to previous messageGo to next message
Erick Green is currently offline Erick GreenFriend
Messages: 3
Registered: September 2014
Junior Member
I'm using:
BIRT 4_4_0-20140611
Eclipse BIRT Designer Version 4.4.0.v201405191524 (should be insignificant because report is in XML)
Eclipse 4.4.0
JDK 1.7
Windows 8.1 x64

I'm creating sample report (in attachment) with options:
PDFRenderOption options = new PDFRenderOption();
options.setOutputFormat(PDFRenderOption.OUTPUT_FORMAT_PDF);
options.setOption(IPDFRenderOption.DPI, 600);
options.setSupportedImageFormats("PNG;GIF;JPG;BMP;SWF;SVG");

---
Edit:
I had another idea: this could be pdf reader problem, but after opening file with Adobe Reader 11.0.08 and Foxit Reader 6.2.3.0815 problem still exists.

FOUND A CAUSE: setting 600DPI makes disproportion in lines size more visible (see attachments). Both 1px lines in pdf without 600dpi look similar, but they are still different (take a zoom, and count pixels). Still wonder why.

index.php/fa/19063/0/

[Updated on: Fri, 05 September 2014 09:58]

Report message to a moderator

Re: Difference between Grid and Label border size [message #1417503 is a reply to message #1417353] Fri, 05 September 2014 15:49 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

I put the 1px grid and 1px label one over the other. When I do that, I can visibly see the difference at no zoom. Please log a bug for this in the bugzilla and post the info in here for future reference.

Michael

Developer Evangelist, Silanis
Re: Difference between Grid and Label border size [message #1417572 is a reply to message #1417503] Fri, 05 September 2014 18:17 Go to previous messageGo to next message
Erick Green is currently offline Erick GreenFriend
Messages: 3
Registered: September 2014
Junior Member
Bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443431
Re: Difference between Grid and Label border size [message #1417587 is a reply to message #1417572] Fri, 05 September 2014 18:48 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Thanks!

Michael

Developer Evangelist, Silanis
Previous Topic:Avoid "NullValue" from appearing in a non-required parameter list
Next Topic:Manipulate cells in a column
Goto Forum:
  


Current Time: Thu Apr 25 02:29:30 GMT 2024

Powered by FUDForum. Page generated in 0.02992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top