Thai Text not in PDF | Community
Skip to main content
sschnelbach
Level 5
August 24, 2022
Solved

Thai Text not in PDF

  • August 24, 2022
  • 1 reply
  • 1928 views

AEM 6.5.11

AEM Guides v4.0.2.10

 

I have a Thai sentence inserted into my English source content because it needs to appear in the English PDF output. We do similar things with French, German, and Italian without any issues, but the Thai content renders in the PDF as a string of question marks (???????).

 

How do I get the Thai and any other non-Latin/Germanic characters to display? Is this a UTF-8 vs UTF-16 issue? AEM Guides is UTF-8 and our previous CCMS (SDL LiveContent Architect and XMetaL) was UTF-16 and allowed this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AswiniLakshminarayanan

Done. An email was sent that included the dita file with the Thai content. I was going to also include the PDF output, but for some odd reason, maps that generated a PDF output last week just fine are failing this week.


Thanks for your email. Please use the below steps to enable the Thai font. 

1. Enable element-specific font settings by uncommenting AttributeForXMLLang=xml:lang in the maker.ini file. You can locate this file in the FM installation directory.


2. Add xml:lang attribute to “th” on the element.

<ph id="ph_1" translate="no" xml:lang="th">
<foreign>อุปกรณ์และอุปกรณ์โทรคมนาคมนี้เป็นไปตามมาตรฐานหรือข้อกำหนดทางเทคนิค</foreign>
</ph>

1 reply

Adobe Employee
August 24, 2022

It seems like the Font issue and not UTF8/16. The font used on the server doesn't have Thai characters. Can you share some more details on the PDF engine you are using?

sschnelbach
Level 5
August 24, 2022

We're using FMPS 2020.2

 and Arial

Adobe Employee
August 25, 2022

Please send a sample file and font to alakshminara@adobe.com to investigate this issue.