Hi list,
i was trying to put special characters (ç, é etc) on toc and on pdf print.
To solve that, i use html entities on description (inside mapfile) . that
change works for html print and toc but for pdf print no good.
finally i chance pdfprint.php (incphp/print/pdfprint.php) at line 300
original
-----------------------------------------------------------------
// Putput PDF
$this->Image($icoUrl, $x, $y, $icoW, $icoH);
$this->SetXY($x + $icoW + 5, $y + 6);
$this->SetFont($this->defaultFontType, "B",
$this->defaultFontSize);
$grpDescription = $grp->getDescription();
$this->Cell(0, 0, $grpDescription);
$y += 18; // y-difference between GROUPS
---------------------------------------------------------------------
new (yellow)
--------------------------------------------------------------------
// Putput PDF
$this->Image($icoUrl, $x, $y, $icoW, $icoH);
$this->SetXY($x + $icoW + 5, $y + 6);
$this->SetFont($this->defaultFontType, "B",
$this->defaultFontSize);
$grpDescription1 = $grp->getDescription();
$grpDescription =
html_entity_decode($grpDescription1,ENT_NOQUOTES,'UTF-8');
$this->Cell(0, 0, $grpDescription);
$y += 18; // y-difference between GROUPS
------------------------------------------------------------------------
best regards,
Luigi Castro Cardeles
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users