joseph salomon
joseph salomon

Reputation: 31

Check Symbol(✓) doesn't display in PDF using jasper report

I developed a report in jasper wherein it displays a check symbol(✓) for existing records (i.e. list of requirements). It seems like I would never had a problem displaying it since the check symbol is visible during preview in the iReport. But once I viewed the report in PDF format, the check symbol is no longer visible. I even tried unicode characters instead of the check image, even unicode for square root.

What configuration am I missing here?

Upvotes: 3

Views: 7142

Answers (2)

Martin
Martin

Reputation: 1

This is the way to add image of (check-mark) and build

To create parameter paramImage and set the image expression property as $P{paramImage}.

To passing value to this variable as

String imagePath = FacesContext.getCurrentInstance().getExternalContext().getRealPath("/images/IMAGE.jpg");

Then put parameters as given below

paramaters.put("paramImage",imagePath);

Upvotes: 0

Xavi López
Xavi López

Reputation: 27880

Embedding the font in the report might solve your issue. This article discusses how to embed fonts using iReport and not using it: Embedding fonts into PDF generated by JasperReports

Upvotes: 1

Related Questions