pdf generate in 2.6.0
Moderator: Thorsten
pdf generate in 2.6.0
Hi,
I ever ask about this in 2.5.x.
(viewtopic.php?f=3&t=10183)
I upgrade to 2.6.0. But still cannot show correct Chinese words in pdf.
George
I ever ask about this in 2.5.x.
(viewtopic.php?f=3&t=10183)
I upgrade to 2.6.0. But still cannot show correct Chinese words in pdf.
George
Re: pdf generate in 2.6.0
Hi,
I'll ckeck it. Which language do you use?
bye
Thorsten
I'll ckeck it. Which language do you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
Hi,
PhpMyFAQ 2.6.0 is TCPDF 4.6.009 (/inc/libs/tcpdf/).
This Version is BigSizePDF ,needed many fonts.
TCPDF4.6.027 (2009-08-24) supports unembedded TrueTypeUnicode Fonts.
Please TCPDF 4.6.009 --> Over 4.6.027.
NoW Stable release 4.8.026 2010-01-19....
PhpMyFAQ 2.6.0 is TCPDF 4.6.009 (/inc/libs/tcpdf/).
This Version is BigSizePDF ,needed many fonts.
TCPDF4.6.027 (2009-08-24) supports unembedded TrueTypeUnicode Fonts.
Please TCPDF 4.6.009 --> Over 4.6.027.
NoW Stable release 4.8.026 2010-01-19....
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
I'll updated the TCPDF component for 2.6.1.
bye
Thorsten
I'll updated the TCPDF component for 2.6.1.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
For Japanese/Chinese/Korean PDF 2.6.1
still cannot show correct Chinese(Japanese/Korean) words in pdf.. 2.6.1
For Japanese/Chinese/Korean PDF 2.6.1
Get Japanese/Chinese/Korean Fonts (tcpdf_4_8_026.zip)
http://sourceforge.net/projects/tcpdf/files/
OPEN tcpdf_4_8_026.zip
UP: ALL font/*
tcpdf\fonts\* ----> /inc/libs/tcpdf/fonts/*
Ex.
tcpdf\fonts\almohanad.ctg.z ----> /inc/libs/tcpdf/fonts/almohanad.ctg.z
tcpdf\fonts\almohanad.php ----> /inc/libs/tcpdf/fonts/almohanad.php
tcpdf\fonts\almohanad.z ----> /inc/libs/tcpdf/fonts/almohanad.z
・・・・・・・
1:Japanese(Arial Uni CID0) -> arialunicid0
2:Japanese(Kozuka Gorhic Pro M) -> kozgopromedium
3:Japanese(Kozuka Mincho Pro M) -> kozminproregular
4:Korean(HYSMyeongJoStd-Medium) -> hysmyeongjostdmedium
5:Traditional Chinese(MSungStd-Light) -> msungstdlight
6:Simplified Chinese(STSongStd-Light) ->stsongstdlight
--------------------------------
Edit File( Ex. Japanese_font : arialunicid0) ,and Save as UTF-8_format.
/inc/Faq.php
About Line3077
About Line102
About Line420
For Japanese/Chinese/Korean PDF 2.6.1
Get Japanese/Chinese/Korean Fonts (tcpdf_4_8_026.zip)
http://sourceforge.net/projects/tcpdf/files/
OPEN tcpdf_4_8_026.zip
UP: ALL font/*
tcpdf\fonts\* ----> /inc/libs/tcpdf/fonts/*
Ex.
tcpdf\fonts\almohanad.ctg.z ----> /inc/libs/tcpdf/fonts/almohanad.ctg.z
tcpdf\fonts\almohanad.php ----> /inc/libs/tcpdf/fonts/almohanad.php
tcpdf\fonts\almohanad.z ----> /inc/libs/tcpdf/fonts/almohanad.z
・・・・・・・
1:Japanese(Arial Uni CID0) -> arialunicid0
2:Japanese(Kozuka Gorhic Pro M) -> kozgopromedium
3:Japanese(Kozuka Mincho Pro M) -> kozminproregular
4:Korean(HYSMyeongJoStd-Medium) -> hysmyeongjostdmedium
5:Traditional Chinese(MSungStd-Light) -> msungstdlight
6:Simplified Chinese(STSongStd-Light) ->stsongstdlight
--------------------------------
Edit File( Ex. Japanese_font : arialunicid0) ,and Save as UTF-8_format.
/inc/Faq.php
About Line3077
About Line3083$pdf->SetFont('dejavusans', '', 12);
to
$pdf->SetFont('arialunicid0', '', 12);
/inc/PMF_Export/Pdf.php$pdf->SetFont('dejavusans', '', 11);
to
$pdf->SetFont('arialunicid0', '', 11);
About Line102
/inc/PMF_Export/Pdf/Wrapper.php$this->pdf->SetFont('dejavusans', '', 12);
to
$this->pdf->SetFont('arialunicid0', '', 12);
About Line420
About Line444$this->SetFont('dejavusans', 'B', 18);
to
$this->SetFont('arialunicid0', 'B', 18);
About Line444$this->SetFont('dejavusans', '', 10);
to
$this->SetFont('arialunicid0', '', 10);
About Line451$this->SetFont('dejavusans', 'B', 8);
to
$this->SetFont('arialunicid0', 'B', 8);
---------------------------------------$this->SetFont('dejavusans', '', 8);
to
$this->SetFont('arialunicid0', '', 8);
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
I didn't fixed it for 2.6.1 because of time problems. The PDF issue is my No. 1 TODO for 2.6.2. Thanks for your hints!
bye
Thorsten
I didn't fixed it for 2.6.1 because of time problems. The PDF issue is my No. 1 TODO for 2.6.2. Thanks for your hints!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
Thanks Thorsten!
And need for Image(JPEG/GIF・・)
And need for Image(JPEG/GIF・・)
Premission 755 or 777/inc/libs/tcpdf/cache
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
I changed the fonts and there are still no Chinese characters in PDF... Does it work for you?
bye
Thorsten
I changed the fonts and there are still no Chinese characters in PDF... Does it work for you?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
My testSite ..Japanese..PDF
text only
http://phpmyfaq.bbfriend.net/pdf.php?ca ... artlang=ja
Image and text
http://phpmyfaq.bbfriend.net/pdf.php?ca ... artlang=ja
text only
http://phpmyfaq.bbfriend.net/pdf.php?ca ... artlang=ja
Image and text
http://phpmyfaq.bbfriend.net/pdf.php?ca ... artlang=ja
Last edited by UTAKA on Mon Jan 25, 2010 8:26 am, edited 1 time in total.
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
I cannot access your server... it's not reachable for me.
bye
Thorsten
I cannot access your server... it's not reachable for me.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
Uuuu... error 404 ? 505?Thorsten wrote:I cannot access your server... it's not reachable for me.
Thorsten
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
I can access http://www.bbfriend.net but not http://phpmyfaq.bbfriend.net. It's just "server not found".
bye
Thorsten
I can access http://www.bbfriend.net but not http://phpmyfaq.bbfriend.net. It's just "server not found".
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
Hi,
now I can access your phpMyFAQ installation.
bye
Thorsten
now I can access your phpMyFAQ installation.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: pdf generate in 2.6.0
mumu...
I am not doing the control of access....
My Site is very NewSite(Since 2010/1/21).
Maybe.. DNS Propagation ?
I am not doing the control of access....
My Site is very NewSite(Since 2010/1/21).
Maybe.. DNS Propagation ?
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Re: pdf generate in 2.6.0
Hi,
PDF export of Japanese, Korean and Chinese content works now.
bye
Thorsten
PDF export of Japanese, Korean and Chinese content works now.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist