JayVora-SerpentCS / Jasperreports_odoo

Jasper Reports Engine for Odoo
http://www.serpentcs.com
81 stars 140 forks source link

Issue during printing an HTML Field #116

Closed rjay1018 closed 2 years ago

rjay1018 commented 3 years ago

image

JayVora-SerpentCS commented 3 years ago

@hiren-serpentcs take a look please.

h3llopy commented 3 years ago

Same Error

hiren-serpentcs commented 3 years ago

Hi @rjay1018

Looking at the log, it's because the jasper server is not able to load the custom fonts.

You can try to add your custom font's jar files into the java folder.

rjay1018 commented 3 years ago

@hiren-serpentcs where can I find the Java folder?

hiren-serpentcs commented 3 years ago

Hi @rjay1018

You need to add your jar file in this directory: jasper_reports/java/lib

rjay1018 commented 3 years ago

Do I need to create a jar file? I only use have this HTML Field on my system. .

image

I set it on ireport as markup = html

image

I did not create a jar file or any, Do you have any reference documents that will guide me resolved this issue.

hiren-serpentcs commented 3 years ago

Do I need to create a jar file?

Yes since your HTML is taking the "Arial Narrow" which is not available/rendered on the Jasper Server.

You can refer to this doc to create your own jar file for Fonts.

hiren-serpentcs commented 2 years ago

closing as no updates.