Font licensing issue

Request for help on DynamicReports

Moderator: ricardo

Font licensing issue

Postby xpviv » Thu Sep 14, 2017 6:46 am

Hi friends,

I come with one issue, when I am trying to set default font to my report using defaults.xml file, as suggested in examples, I got issue saying that,

net.sf.jasperreports.engine.JRRuntimeException: com.lowagie.text.DocumentException: fonts/national-reg.ttf cannot be embedded due to licensing restrictions.
:cry:
Can anybody help me to fix this issue. ?
xpviv
 
Posts: 21
Joined: Wed Sep 28, 2016 1:47 pm

Re: Font licensing issue

Postby xpviv » Thu Sep 14, 2017 7:38 am

Where can I add license information or font in Dynamic reports ? :|
xpviv
 
Posts: 21
Joined: Wed Sep 28, 2016 1:47 pm

Re: Font licensing issue

Postby xpviv » Thu Sep 14, 2017 10:17 am

I resolved this issue on my own.

Solution is :

Take a licensed font file itself. Previously, I have downloaded it from Internet which did not get accept.
By placing licensed file in classpath it will resolve this issue. :lol:
xpviv
 
Posts: 21
Joined: Wed Sep 28, 2016 1:47 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest