Hello,
I am currently evaluating the HTML To PDF Conversion plug-in for generating PDF documents in Appian.
The basic conversion flow works correctly:
I can pass an HTML file as the source document.
The Smart Service generates a PDF document.
The generated PDF can be saved in Appian.
However, I am having an issue with Japanese text.
The HTML file displays Japanese characters correctly when opened as HTML, but after converting it to PDF, the Japanese characters are rendered as #### in the PDF. English text and numbers are displayed correctly.
####
I have already tried the following, but the result did not change:
Added <meta charset="UTF-8"/>
<meta charset="UTF-8"/>
Specified Japanese fonts in CSS, such as:
Noto Sans CJK JP
Noto Sans JP
Meiryo
Yu Gothic
Arial Unicode MS
Specified Open Sans, which is used in the Appian UI
Open Sans
Removed the <style> tag entirely to check whether CSS was the cause
<style>
My questions are:
Does this plug-in support Japanese / CJK / Unicode characters when converting HTML to PDF?
Is there any way to specify or embed a Japanese font for the PDF conversion?
Does the plug-in support @font-face or base64-embedded fonts?
@font-face
Are there any recommended settings or workarounds for generating Japanese PDF files?
If this plug-in does not support Japanese text, is there another recommended Appian plug-in or approach for generating PDFs with Japanese content?
Any guidance would be greatly appreciated.
Thank you.PDF
Discussion posts and replies are publicly visible
appianpram304724 said:Is Convert DocX to PDF (Aspose) a good option for this use case?
Yes, this plugin can do this job well. Pass the japanese fonts to this and then configure. You will need license key to use this plugin though.