falcon-eu
-
Posts
4 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by falcon-eu
-
-
Hi all,
I am using the same jasper's template, the same datasource, the same format. On Jasper Studio justified text looks fine, while generating PDF in Java I get wider spaces in some lines between words. Why it looks different than in Studio? How to fix it? thank you in advance.
-
I removed t signs and it works correct now but I have annother issue. When text in some lines are short jasper forced the text to be justified and it looks bad in my opinion. How to prevent justify when text in some lines are short? Thank you in advance.
-
Hi all,
I have following text:
Aaaaaaaa a aaaaaaa aaaaaa aaaaaa a aaaaaa aaaaaaa aaa aa aaaaa aaaaaaaaa aaaa aaaaaaaa aaaaaaaaaaa aa aaa aaaaa aaaaaaaa aaaaa aaa. aa aaaaaaa aaaaaa aaaaaa aaaaaaaa aa aaaaaaa aaaaaa aaaa aaaaaaa, aaaaaa aaaaaaaaaa aaaa:naaaaa aaaaaaaaaaa aa aaaaaaaa aaaaa aaaaat t t t n 31.12.2017 31.12.2018naaaa aaaaaaa aaaa aa aaat 0,0000t aa 0,0000 aa naaaa aaaaaaa aaa aa aaat 1,1711t aa 4,0000 aa naaaa aaaaaa aaaaaaaaa aaaa aaaaaaa aaaaaaaaaaa aaaaa aaaaaaaa aa aaaaaa aaaaa aaaaaa aaaaa a aaaa aaaaaaa
This is converted into PDF document and text is stretched out:
<band height="15" splitType="Stretch"> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="NoStretch" x="0" y="0" width="490" height="15" uuid="7e24c6a9-5c03-43a5-82ea-151bff88d24a"/> <textElement textAlignment="Justified"> <font fontName="CustomFont" pdfEncoding="Cp1250"/> </textElement> <textFieldExpression><![CDATA[$F{content}]]></textFieldExpression> </textField></band>
I would like to have no space between number digits. How to solve this issue? I tried using properties:
<property name="net.sf.jasperreports.export.pdf.justified.letter.spacing" value="false"/><property name="net.sf.jasperreports.export.pdf.force.linebreak.policy" value="true"/>
but not help.
Thank you in advance.
Jasper report text justified looks different (Studio vs Java)
in Products
Posted
I set the same font in studio as is used in Java, and difference is still visible. I will try to set additional properties and let know