OpenType Unicode font with Greek support (Arial) plus lang_decode.php so

that we can have graphs with greek legends.
This commit is contained in:
defacer
2004-04-27 16:32:50 +00:00
parent 5b044cc120
commit 93c2cbcff1
2 changed files with 13 additions and 0 deletions
Binary file not shown.
+13
View File
@@ -0,0 +1,13 @@
<?php
function lang_decode($s) {
$len = strlen($s);
$out = '';
for($i=0; $i < $len; $i++) {
$ch = ord($s[$i]);
$out .= $ch > 128 && $ch < 256 ? '&#'.(720 + $ch).';' : chr($ch);
}
return $out;
}
?>