Bug 443431 - The same border size for two elements looks different after rendeing
Summary: The same border size for two elements looks different after rendeing
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.4.0   Edit
Hardware: PC Windows 8
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 14:10 EDT by Erick Green CLA
Modified: 2014-09-05 14:10 EDT (History)
0 users

See Also:


Attachments
report source and generated pdfs (2.39 KB, application/octet-stream)
2014-09-05 14:10 EDT, Erick Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erick Green CLA 2014-09-05 14:10:10 EDT
Created attachment 246784 [details]
report source and generated pdfs

Take two elements: Grid and Label. Place them close to each other with a little margin to avoid touching. Set 1px border for both elements. Generate two pdf reports with following settings:
1. Default DPI
PDFRenderOption options = new PDFRenderOption();
options.setOutputFormat(PDFRenderOption.OUTPUT_FORMAT_PDF);

2. 600 dpi
PDFRenderOption options = new PDFRenderOption();
options.setOutputFormat(PDFRenderOption.OUTPUT_FORMAT_PDF);
options.setOption(IPDFRenderOption.DPI, 600);

First pdf has a hardly noticeable difference between border line size but it's visible after zooming. Second pdf has a huge difference.

Borders of the same size should look the same after rendering regardless of the element.