Community & Support

dompdf and Khmer Unicode ,Printer, e-mail and PDF versions

Hi,

I have a problem relate with Printer, e-mail and PDF versions module and dompdf with Khmer Unicode characters.
I have installed those in my website successfully but when i clicked on PDF version, the Khmer unicode character displayed incorrectly (??????????????? always)

How can i fix it to support with Khmer Unicode characters??

Please kindly help me!!

Best regards,
ChanHan Hy

Comments

dompdf and Unicode characters

Hi,
Somebody know how to fix dompdf to support with Unicode characters?

Thanks,

_

Not really a drupal issue, you might have more luck elsewhere: http://www.google.com/search?q=dompdf+unicode

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Let me try.......

Thanks for yours helps.
Let try it now.

Thanks,

Hi,
I have tested TCPDF already, it works fine for English characters but it is not working fine with my Unicode Characters at all.

It generated only blank pdf file, it seems it doesn't support with my Unicode at all.

How can i fix this???
any idea??

Thanks for your help.

Best regards,
ChanHan Hy

You need to change the font

You need to change the font used by the PDF sub-module.. I am not sure if the fonts supplied with TCPDF support the Khmer unicode (I think they are only CJK - Chinese, Japan and Korean).

Anyway, with some work with the tools provided by TCPDF you should be able to generate a Khmer-compatible Unicode font, which you can then specify to the PDF sub-module.

João Ventura
Venturas.org

Is there any solution found

Is there any solution found for this problem?
I tried same thing with TCPDF. I converted Khmer Unicode .ttf fonts to .ufm fonts, and than converted to TCPDF fonts, it worked. But it has some errors in text like + sign under letter or a dashed circle between letters instead of the letter after placed to bottom or around?
Any improvements for one year?

nobody click here