Question:
“Getting the error while exporting the output to PDF.
net.sf.jasperreports.engine.JRRuntimeException: com.lowagie.text.DocumentException: net/sf/jasperreports/fonts/sample.ttf cannot be embedded due to licensing restrictions.
What is the reason of this error?”
Answer:
This behavior is related to the third party vendor's policy (Adobe/PDF)
and license restrictions for fonts.
The font itself does not allow to be embedded.
Some fonts have this kind of limitation and iText is very strict on these topics.
You can try to insert them as non-embedded fonts.
For more details please see the threads in the third party
community forum:
https://forums.adobe.com/message/2397381#2397381
https://forums.adobe.com/thread/484300?tstart=0
and in the Internet:
http://stackoverflow.com/questions/5676070/how-to-check-if-a-font-is-embeddable
Recommended Comments
There are no comments to display.