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

hychanhan - February 3, 2009 - 07:03

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

dompdf and Unicode characters

hychanhan - February 4, 2009 - 00:42

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

Thanks,

_

WorldFallz - February 4, 2009 - 13:03

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

Let me try.......

hychanhan - February 5, 2009 - 01:55

Thanks for yours helps.
Let try it now.

Thanks,

Get only blank pdf file when use TCPDF and UTF-8 Unicode charact

hychanhan - February 5, 2009 - 08:08

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

jcnventura - March 5, 2009 - 11:18

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

 
 

Drupal is a registered trademark of Dries Buytaert.