18
I managed to get a little further using some tweaking of the code..But finished pdf still reveals languages in a mess as you described Ghia, however..
In pdf.php I changed line 243
from
le="color: #000000"><?php $content = news_unhtml($content);
to
le="color: #000000"><?php $content = $content;
line 250 - 255
from
le="color: #000000"><?php $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor(PDF_AUTHOR); $pdf->SetTitle($doc_title); $pdf->SetSubject($doc_title); $pdf->SetKeywords($doc_keywords);
to this..
le="color: #000000"><?php $pdf->SetCreator(news_unhtml(PDF_CREATOR)); $pdf->SetAuthor(news_unhtml($article->uname())); $pdf->SetTitle(news_unhtml($doc_title)); $pdf->SetSubject(news_unhtml($doc_title)); $pdf->SetKeywords(news_unhtml($doc_keywords));
line 270 - 271
from
le="color: #000000"><?php $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
to
le="color: #000000"><?php $pdf->SetFont('FreeSans', '', 11); $pdf->setHeaderFont(Array('FreeSans', '', 10)); $pdf->setFooterFont(Array('FreeSans', '', 10));
and now at least the danish letters get translated ok... I will continue to see if I can get the xlanguage working