From: Joe Hunt Date: Sun, 23 Oct 2011 21:53:12 +0000 (+0200) Subject: Option to use iso-8859-13 (The Baltic Countries) in pdf reports. X-Git-Tag: 2.3-final~552 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=eac3de7e85d95ddda61e4cd01e7641e46306748f;p=fa-stable.git Option to use iso-8859-13 (The Baltic Countries) in pdf reports. --- diff --git a/reporting/includes/class.pdf.inc b/reporting/includes/class.pdf.inc index 44b62b43..0b15e80f 100644 --- a/reporting/includes/class.pdf.inc +++ b/reporting/includes/class.pdf.inc @@ -175,7 +175,14 @@ class Cpdf extends FPDI { default : $fontname = "freesans5"; break; } } - // else use built-in adobe fonts helvetica. + elseif ($this->encoding === "ISO-8859-13") + { + switch ($this->l['a_meta_language']) + { + default : $fontname = "freesans13"; break; + } + } + // else use built-in adobe fonts helvetica. } $this->SetFont($fontname, $style); }