[Frontaccounting-cvs_updates] /hgrepo/f/fr/frontaccounting/frontaccounting: Option to use iso-...
Brought to you by:
frontaccounting,
itronics
From: FrontAccounting <fro...@us...> - 2011-10-24 06:01:32
|
details: http://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting/hgrepo/f/fr/frontaccounting/frontaccounting/rev/adee2f429377 changeset: 2900:adee2f429377 user: Joe Hunt <joe...@gm...> date: Sun Oct 23 23:53:12 2011 +0200 description: Option to use iso-8859-13 (The Baltic Countries) in pdf reports. diffstat: reporting/includes/class.pdf.inc | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diffs (19 lines): diff -r 7932d5c479c4 -r adee2f429377 reporting/includes/class.pdf.inc --- a/reporting/includes/class.pdf.inc Wed Oct 19 09:25:57 2011 +0200 +++ b/reporting/includes/class.pdf.inc Sun Oct 23 23:53:12 2011 +0200 @@ -175,7 +175,14 @@ 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); } |