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
$content = news_unhtml($content);
to
$content = $content;
line 250 - 255
from
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor(PDF_AUTHOR);
$pdf->SetTitle($doc_title);
$pdf->SetSubject($doc_title);
$pdf->SetKeywords($doc_keywords);
to this..
$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
$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
to
$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