Community
Participate
Working Groups
Using the same report design and same data, the resulting PDF will occasionally have some labels and/or data fields print out with different font sizing or spacing. Attached are two PDF files which display the issue. They were produced in the same manner through our application about 2 minutes apart. You can see two examples of the issue on the first page, one is in the header (the name "Susan Ryan") and the other is the label "Birth Date:". Another example is on page 4 in the header where there is more spacing above and below the "Student:" caption and name.
Created attachment 194288 [details] output file 2
Created attachment 194289 [details] output file 1
Do you know how to reproduce this issue stably? We can not reproduce this issue with common report designs on Linux.
At this point in time, we do not know how to reproduce the issue consistently. The behavior appears to be somewhat random but the frequency that it occurs seems to be high (about 1 time out of 4). We have not noticed the issue when previewing reports through the standalone BIRT report designer. It occurs when processing reports through our custom report processor. This is a multi-threaded standalone "engine" that calls the BIRT API directly (createRunAndRenderTask) to produce the resulting PDF files. Are there any known issues with the createRunAndRenderTask being called in a multi-threaded environment? Are there any recommended settings for producing debug or trace output?
I have produced a multi-threaded test program that reproduces the issue. If the program is run with only one thread (settable through an .ini file) the issue doesn't appear to happen. With 2 or more threads, the issue can be seen at "random" places in the resulting pdf files. The zip file containing the program and environment is too large (51MB) to attach to the bug. I've placed the file here: http://www.centipede.us/birt/birtbug2.zip
*** This bug has been marked as a duplicate of bug 333511 ***
I can reproduce this bug with 2.6.2 and 3.7.0M6, but can not reproduce with nightly build 3_7_0-N20110426. Could you please try it with the latest 3.7.0 nightly build (http://download.eclipse.org/birt/downloads/build_list.php)
Using the report engine from 3_7_0-N20110510 appears to be fine and not exhibit the font size difference issue. I can also confirm that the behavior does occur with 2.6.2 and 3.7.0M6. Was there a specific change that fixed this? Is there a possibility of this being fixed in the next 2.6.X version?