jasperbox Posted February 9, 2011 Share Posted February 9, 2011 Does iReport support check mark character? I tried to put the value '/u0033' in the text field as suggested when I googled. However, it didn't work. I tried to put the image but didn't show up too. Any ideas or workarounds?thanks so much!! Link to comment Share on other sites More sharing options...
szaharia Posted February 10, 2011 Share Posted February 10, 2011 Hi,Just 3 observations here.The unicode notation should ever start with a backslash: \Try with this UTF-8 char code: \u2713Choose a true type font which supports the check mark symbolHope this helps,sandaPost Edited by shertage at 02/10/2011 10:07 Link to comment Share on other sites More sharing options...
jasperbox Posted February 11, 2011 Author Share Posted February 11, 2011 Hi sanda,In iReport Designer, I put the static text properties \u2713, and what should the true type font be? I tried different ones but still doesn't show the check mark.Thanks again!! Link to comment Share on other sites More sharing options...
szaharia Posted February 11, 2011 Share Posted February 11, 2011 Here they are:http://www.fileformat.info/info/unicode/char/2713/fontsupport.htmThe Deja Vu family is already available in JR.Regards,sanda Link to comment Share on other sites More sharing options...
jasperbox Posted February 12, 2011 Author Share Posted February 12, 2011 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 More sharing options...
szaharia Posted February 14, 2011 Share Posted February 14, 2011 Hi,The <staticText> is the problem. Put the unicode text in a <textField> element, in order to get it processed.Hope this helps,sanda Link to comment Share on other sites More sharing options...
Martiz Posted April 3, 2017 Share Posted April 3, 2017 1.Using text field and insert "u2714" unicode or2. 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 More sharing options...
ram_2010 Posted October 12, 2018 Share Posted October 12, 2018 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 & RegardsRam Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now