Project

General

Profile

Defect #826

Static Text not Rendering Properly

Added by Kim Premuda over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/08/2014
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Files

jaspser_studio_static_text_40.png (144 KB) jaspser_studio_static_text_40.png Jasper Studio - Text Size = 40 Kim Premuda, 10/08/2014 02:06 AM
jaspser_report_11.png (101 KB) jaspser_report_11.png Rendered Report - Text Size = 11 Kim Premuda, 10/08/2014 02:06 AM

History

#1

Updated by Kim Premuda over 9 years ago

I am new to Jasper Studio and this version of the plugin (5.0.0 a1), so this may not be a real problem. In the title section, I have static text set to size 40, but when the report is rendered, the static text size is approximately 11. Attached are screen shots showing the size differences. I could find nothing in Jasper Studio that would limit the static text size, so I am guessing this is a bug. Please advise.

#2

Updated by Andrei Costache over 9 years ago

This should simply work.
What are you exporting to? (Are there any errors in the server/client logs)

#3

Updated by Kim Premuda over 9 years ago

The original reports were created in iReport 4.6.x, and they render as expected using plug-in 4.0.x. The .jasper report output goes to the jsbean 4.0.2.

Using JasperStudio 5.5.2, I recompiled the original jxml files. When I preview a newly compiled report in JasperStudio, it renders as expected(40-point font size prevails as in screen shot).

In our application, the plug-in was updated to 5.0.0.a1. I copied all the newly recompiled .jasper files to the application's report folder. When the applications renders the report in the jsbean, the 40-point font size is reduced to approximately 11 points (visual comparison based upon other font sizes in the report). When I manually export the report in the jsbean as a PDF, the 11-point font prevails.

There is nothing in the developer/server log files related to this problem.

"This should simply work."

Agreed. Since JasperStudio renders the report correctly, I thought (perhaps, incorrectly) that this may be an issue with the plug-in. I am not aware of anything in JasperStudio that limits the font size, so I am quite baffled as to why this happens. I am out of ideas, so if you have any suggestions, please pass them along.

I hope I clearly explained things. If there is any other information that I can provide, never hesitate to ask.

#4

Updated by Andrei Costache over 9 years ago

Does the plugin export work as expected font-wise?
I see that you have trouble with the JR Bean; though the problem is most probably the same, could you please try just plugin (export to view then save to pdf and simple export to pdf).
Also, can you try using the .jrxml files (not the compiled ones)?

Regards,
Andrei

#5

Updated by Kim Premuda over 9 years ago

Andrei,

I will be happy to try the items you suggested but wanted to let you know that I cannot get to them until next Monday at the earliest. I am out of the office (traveling) and shall not return until that time. My apologies for the delay.

Kim

#6

Updated by Kim Premuda over 9 years ago

Without changing any of the reports, they are all now rendering properly! The only change between the time I originally reported this issue to the present, is that I uploaded JDK 1.7.0_71 last weekend (which also loaded JRE 1.7.0_71). The previous JRE was 1.7.0_45. I thought that the issue may have been with the JRE, so I deleted JRE 1.7.0_71 and re-installed JRE 1.7.0_45, but the reports still render properly. I reverted back to JRE 1.7.0_71, and the reports continue to render properly. I can only surmise that the original loaded JRE was (partially) corrupted. Strange. Thanks for all your help, Andrei.

Also available in: Atom PDF