Forum


Replies: 1   Views: 1708
Thai characters in pdf
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by jeremie  · 12-05-2020 - 17:07

I have a very simple docx document with the same two words in Thai written on two different lines. The words and the paragraphs are styled the same. Thai font is Tahoma and is embedded into the docx document.

When I transform the document to PDF using transformDocument, the word on the first line is correct while the word on the second line is not displayed. Its characters are being replaced with squares.

It can't be a font problem since:

  • the font is embedded
  • the first word, exactly the same as the second word, is displayed correctly

Please help.

Posted by admin  · 12-05-2020 - 18:05

Hello,

Please send the DOCX and the PDF output to contact[at]phpdocx.com so we can check them.

Regards.