projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c95e9e
)
Option to use iso-8859-13 (The Baltic Countries) in pdf reports.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 23 Oct 2011 21:53:12 +0000
(23:53 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 23 Oct 2011 21:53:12 +0000
(23:53 +0200)
reporting/includes/class.pdf.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/class.pdf.inc
b/reporting/includes/class.pdf.inc
index 44b62b4326d6b0c3664eda439f9ab5f11d8e9bd3..0b15e80f8efae9fac05e5725c8ad12c9e1493958 100644
(file)
--- 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);
}