Render Html to PDF In Chinese and Eritrean not working

Posted by refael shira on 08-Feb-2017 11:30

Hello,

I have a document template on these languages:

1. Chinese.

2. Eritrean

I wrote the templates by HTML and I marked 'render as PDF' checkBox but the output (PDF file) contain a strange symbols.

Do you have an idea how this can be resolved?

Best Regards,

Refael

This is the HTML file:

This is the PDF file:

  

Posted by Anvi Jain on 20-Apr-2017 04:25

Hi Refael,

If you are still not able to render Chinese and Eritrean in PDFs, then you will need to add the following css styling to your html template -

font-family: Noto Sans Ethiopic, Droid Sans Fallback;

Where  'Noto Sans Ethiopic' is used to render Eritrean and 'Droid Sans Fallback' is used to render Chinese.

Thanks,

Anvi

All Replies

Posted by Manooj Murali on 08-Feb-2017 20:22

Are you trying this on Rollbase Hosted Cloud or your private cloud instance? If on private cloud, have you configured the FontDirectory shared property to point to the fonts directory on your machine? Also, can u confirm if you have done the pd4ml configuration as mentioned @ pd4ml.com/.../ttf-embedding-t42.html (regarding ttf embedding)?

Posted by refael shira on 12-Feb-2017 04:48

Hi Murali,

I'm using in public cloud.

Regards,

Refael

Posted by Karthikeyan Bhaskaran on 04-Apr-2017 23:29

Hi Refael,

I can reproduce this issue on the Public Cloud. Will update you after checking what needs to be done.

Posted by Karthikeyan Bhaskaran on 04-Apr-2017 23:34

Quick update: This has been fixed for the upcoming release.

Posted by Thierry Ciot on 07-Apr-2017 17:16

Please try it out on eap.rollbase.com and let us know if it works well for you.

thanks.

PS: if you don't have an account email me tciot at progress.com

Posted by Anvi Jain on 20-Apr-2017 04:25

Hi Refael,

If you are still not able to render Chinese and Eritrean in PDFs, then you will need to add the following css styling to your html template -

font-family: Noto Sans Ethiopic, Droid Sans Fallback;

Where  'Noto Sans Ethiopic' is used to render Eritrean and 'Droid Sans Fallback' is used to render Chinese.

Thanks,

Anvi

This thread is closed