Felipe Bedê
Felipe Bedê

Reputation: 153

Unpatched iText found, cannot use glyph rendering

I'm using SpringBoot, and I'm trying to generate a report using Jasper Report 6.4.3, but keep getting this warning on console:

WARN 25847 --- [tp1694467519-34] n.s.j.engine.export.PdfGlyphRenderer : Unpatched iText found, cannot use glyph rendering

And I can't get the report generated.

Upvotes: 10

Views: 24939

Answers (2)

Gaur 97
Gaur 97

Reputation: 93

In my case, I am not passing the right parameter to Jesper to generate JesperPrint. Error is not giving correctly in console when data is not printing on output Jesper PDF. Now after giving right parameter it is also showing this massage but my data is printing correcly.

I have used these dependencies:

<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    <version>6.4.0</version>
</dependency>
<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports-fonts</artifactId>
    <version>6.0.0</version>
</dependency>
<dependency>
    <groupId>com.lowagie</groupId>
    <artifactId>itext</artifactId>
    <version>2.1.7</version>
</dependency>

Upvotes: 0

kkk
kkk

Reputation: 848

Jasper uses a special version of iText: 2.1.7.js4

Correct version can be downloaded here

Upvotes: 8

Related Questions