Possible PDF creation issue with phpmyfaq v1.4.8
Moderator: Thorsten
Possible PDF creation issue with phpmyfaq v1.4.8
I have phpmyfaq running with both English and Japanese languages being used. If I create a PDF of the English article, all works fine. If I do the same for Japanese, the PDF is simply garbage characters. What is missing, or what am I doing wrong?
Hi,
this is no bug, you need a Japanese font file for that. Here's a howto to generate one: http://www.fpdf.org/en/tutorial/tuto7.htm
bye
Thorsten
this is no bug, you need a Japanese font file for that. Here's a howto to generate one: http://www.fpdf.org/en/tutorial/tuto7.htm
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Thank you for the quick response. I created the font file as per the howto, and installed it. This still does not work.
I had a look at the pdf.php and see that the font "Arial" is set. Is this possibly why I still get garbage. If this is so, how do I set the font for the Japanese language?
Thanks again.
I had a look at the pdf.php and see that the font "Arial" is set. Is this possibly why I still get garbage. If this is so, how do I set the font for the Japanese language?
Thanks again.
Hi,
you're right, this is a constant...
What happens if you change Arial to the Japanese font? Does this work?
bye
Thorsten
you're right, this is a constant...

What happens if you change Arial to the Japanese font? Does this work?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
can you please send me a SQL dump of that entry and the font file that I can test it at my test suite? Thanks!
bye
Thorsten
can you please send me a SQL dump of that entry and the font file that I can test it at my test suite? Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi Brandon,
yes I did. The last days I had only little spare time so I try to fix your problem this weekend.
bye
Thorsten
yes I did. The last days I had only little spare time so I try to fix your problem this weekend.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist