mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix fpdf so that it is capable of UTF-8.
This commit is contained in:
@@ -644,6 +644,7 @@ function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link
|
||||
}
|
||||
if($txt!=='')
|
||||
{
|
||||
$txt = iconv('utf-8', 'cp1252', $txt);
|
||||
if($align=='R')
|
||||
$dx = $w-$this->cMargin-$this->GetStringWidth($txt);
|
||||
elseif($align=='C')
|
||||
|
||||
Reference in New Issue
Block a user