Jump to content
We've recently updated our Privacy Statement, available here ×

jasper report doesn't support check mark??


jasperbox

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

thanks sanda. I tried again by selecting font 'DejaVu Sans'  and text property \u2713, but it displays \u2713 instead of check mark. I wonder if the highlighted part is correct.

 

            <staticText>
                <reportElement x="464" y="0" width="100" height="20"/>
                <textElement>
                    <font fontName="DejaVu Sans" />
                </textElement>
                <text><![CDATA[\u2713]]></text>
            </staticText>

Link to comment
Share on other sites

  • 6 years later...

1.Using text field and insert "u2714" unicode or

2. Add Photo and give this on backend, FacesContext.getCurrentInstance().getExternalContext().getRealPath("/images/image.jpg"); ,then create a parameter put in to image expression

Link to comment
Share on other sites

  • 1 year later...

Hi Sanda,

I have similar issue, gone through all over google but found you are the one who has answered this issue.

this might be basic what im asking you. in your response you have suggested to use unicode test in place of <textField> element. there is no textfield element i can find there.

Could you please put your above suggestion in sample code snippet please. May be you can modify this code and suggest us.

 <staticText>
                <reportElement x="464" y="0" width="100" height="20"/>
                <textElement>
                    <font fontName="DejaVu Sans" />
                </textElement>
                <text><![CDATA[\u2713]]></text>
            </staticText>

Thanks & Regards

Ram

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...