mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the updated Limesurvey 1.92+ branch of queXS to trunk
This commit is contained in:
@@ -1,122 +1,122 @@
|
||||
Sentences that contain all letters commonly used in a language
|
||||
--------------------------------------------------------------
|
||||
|
||||
Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> -- 2001-09-02
|
||||
|
||||
This file is UTF-8 encoded.
|
||||
|
||||
|
||||
Danish (da)
|
||||
---------
|
||||
|
||||
Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen
|
||||
Wolther spillede på xylofon.
|
||||
(= Quiz contestants were eating strawbery with cream while Wolther
|
||||
the circus clown played on xylophone.)
|
||||
|
||||
German (de)
|
||||
-----------
|
||||
|
||||
Falsches Üben von Xylophonmusik quält jeden größeren Zwerg
|
||||
(= Wrongful practicing of xylophone music tortures every larger dwarf)
|
||||
|
||||
Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich
|
||||
(= Twelve boxing fighters hunted Eva across the dike of Sylt)
|
||||
|
||||
Heizölrückstoßabdämpfung
|
||||
(= fuel oil recoil absorber)
|
||||
(jqvwxy missing, but all non-ASCII letters in one word)
|
||||
|
||||
English (en)
|
||||
------------
|
||||
|
||||
The quick brown fox jumps over the lazy dog
|
||||
|
||||
Spanish (es)
|
||||
------------
|
||||
|
||||
El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y
|
||||
frío, añoraba a su querido cachorro.
|
||||
(Contains every letter and every accent, but not every combination
|
||||
of vowel + acute.)
|
||||
|
||||
French (fr)
|
||||
-----------
|
||||
|
||||
Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à
|
||||
côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce
|
||||
qui lui permet de penser à la cænogenèse de l'être dont il est question
|
||||
dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui,
|
||||
pense-t-il, diminue çà et là la qualité de son œuvre.
|
||||
|
||||
l'île exiguë
|
||||
Où l'obèse jury mûr
|
||||
Fête l'haï volapük,
|
||||
Âne ex aéquo au whist,
|
||||
Ôtez ce vœu déçu.
|
||||
|
||||
Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en
|
||||
canoë au delà des îles, près du mälström où brûlent les novæ.
|
||||
|
||||
Irish Gaelic (ga)
|
||||
-----------------
|
||||
|
||||
D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh
|
||||
|
||||
Hungarian (hu)
|
||||
--------------
|
||||
|
||||
Árvíztűrő tükörfúrógép
|
||||
(= flood-proof mirror-drilling machine, only all non-ASCII letters)
|
||||
|
||||
Icelandic (is)
|
||||
--------------
|
||||
|
||||
Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa
|
||||
|
||||
Sævör grét áðan því úlpan var ónýt
|
||||
(some ASCII letters missing)
|
||||
|
||||
Greek (el)
|
||||
-------------
|
||||
|
||||
Γαζέες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο
|
||||
(= No more shall I see acacias or myrtles in the golden clearing)
|
||||
|
||||
Ξεσκεπάζω τὴν ψυχοφθόρα βδελυγμία
|
||||
(= I uncover the soul-destroying abhorrence)
|
||||
|
||||
Hebrew (iw)
|
||||
-----------
|
||||
|
||||
? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה
|
||||
|
||||
Polish (pl)
|
||||
-----------
|
||||
|
||||
Pchnąć w tę łódź jeża lub osiem skrzyń fig
|
||||
(= To push a hedgehog or eight bins of figs in this boat)
|
||||
|
||||
Zażółć gęślą jaźń
|
||||
|
||||
Russian (ru)
|
||||
------------
|
||||
|
||||
В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!
|
||||
(= Would a citrus live in the bushes of south? Yes, but only a fake one!)
|
||||
|
||||
Thai (th)
|
||||
---------
|
||||
|
||||
[--------------------------|------------------------]
|
||||
๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
|
||||
จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร
|
||||
ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย
|
||||
ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ
|
||||
|
||||
[The copyright for the Thai example is owned by The Computer
|
||||
Association of Thailand under the Royal Patronage of His Majesty the
|
||||
King.]
|
||||
|
||||
Please let me know if you find others! Special thanks to the people
|
||||
from all over the world who contributed these sentences.
|
||||
Sentences that contain all letters commonly used in a language
|
||||
--------------------------------------------------------------
|
||||
|
||||
Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> -- 2001-09-02
|
||||
|
||||
This file is UTF-8 encoded.
|
||||
|
||||
|
||||
Danish (da)
|
||||
---------
|
||||
|
||||
Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen
|
||||
Wolther spillede på xylofon.
|
||||
(= Quiz contestants were eating strawbery with cream while Wolther
|
||||
the circus clown played on xylophone.)
|
||||
|
||||
German (de)
|
||||
-----------
|
||||
|
||||
Falsches Üben von Xylophonmusik quält jeden größeren Zwerg
|
||||
(= Wrongful practicing of xylophone music tortures every larger dwarf)
|
||||
|
||||
Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich
|
||||
(= Twelve boxing fighters hunted Eva across the dike of Sylt)
|
||||
|
||||
Heizölrückstoßabdämpfung
|
||||
(= fuel oil recoil absorber)
|
||||
(jqvwxy missing, but all non-ASCII letters in one word)
|
||||
|
||||
English (en)
|
||||
------------
|
||||
|
||||
The quick brown fox jumps over the lazy dog
|
||||
|
||||
Spanish (es)
|
||||
------------
|
||||
|
||||
El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y
|
||||
frío, añoraba a su querido cachorro.
|
||||
(Contains every letter and every accent, but not every combination
|
||||
of vowel + acute.)
|
||||
|
||||
French (fr)
|
||||
-----------
|
||||
|
||||
Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à
|
||||
côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce
|
||||
qui lui permet de penser à la cænogenèse de l'être dont il est question
|
||||
dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui,
|
||||
pense-t-il, diminue çà et là la qualité de son œuvre.
|
||||
|
||||
l'île exiguë
|
||||
Où l'obèse jury mûr
|
||||
Fête l'haï volapük,
|
||||
Âne ex aéquo au whist,
|
||||
Ôtez ce vœu déçu.
|
||||
|
||||
Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en
|
||||
canoë au delà des îles, près du mälström où brûlent les novæ.
|
||||
|
||||
Irish Gaelic (ga)
|
||||
-----------------
|
||||
|
||||
D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh
|
||||
|
||||
Hungarian (hu)
|
||||
--------------
|
||||
|
||||
Árvíztűrő tükörfúrógép
|
||||
(= flood-proof mirror-drilling machine, only all non-ASCII letters)
|
||||
|
||||
Icelandic (is)
|
||||
--------------
|
||||
|
||||
Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa
|
||||
|
||||
Sævör grét áðan því úlpan var ónýt
|
||||
(some ASCII letters missing)
|
||||
|
||||
Greek (el)
|
||||
-------------
|
||||
|
||||
Γαζέες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο
|
||||
(= No more shall I see acacias or myrtles in the golden clearing)
|
||||
|
||||
Ξεσκεπάζω τὴν ψυχοφθόρα βδελυγμία
|
||||
(= I uncover the soul-destroying abhorrence)
|
||||
|
||||
Hebrew (iw)
|
||||
-----------
|
||||
|
||||
? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה
|
||||
|
||||
Polish (pl)
|
||||
-----------
|
||||
|
||||
Pchnąć w tę łódź jeża lub osiem skrzyń fig
|
||||
(= To push a hedgehog or eight bins of figs in this boat)
|
||||
|
||||
Zażółć gęślą jaźń
|
||||
|
||||
Russian (ru)
|
||||
------------
|
||||
|
||||
В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!
|
||||
(= Would a citrus live in the bushes of south? Yes, but only a fake one!)
|
||||
|
||||
Thai (th)
|
||||
---------
|
||||
|
||||
[--------------------------|------------------------]
|
||||
๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
|
||||
จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร
|
||||
ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย
|
||||
ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ
|
||||
|
||||
[The copyright for the Thai example is owned by The Computer
|
||||
Association of Thailand under the Royal Patronage of His Majesty the
|
||||
King.]
|
||||
|
||||
Please let me know if you find others! Special thanks to the people
|
||||
from all over the world who contributed these sentences.
|
||||
|
||||
@@ -1,108 +1,108 @@
|
||||
<?php
|
||||
|
||||
require_once('tcpdf.php');
|
||||
|
||||
class PDF extends TCPDF
|
||||
{
|
||||
function PDF($orientation='L', $unit='mm', $format='A4')
|
||||
{
|
||||
parent::__construct($orientation,$unit,$format);
|
||||
$this->SetAutoPageBreak(true,10);
|
||||
$this->AliasNbPages();
|
||||
|
||||
}
|
||||
|
||||
function intopdf($text,$format='',$bStripHTML=true)
|
||||
{
|
||||
if ($bStripHTML)
|
||||
{
|
||||
$text = $this->delete_html($text);
|
||||
}
|
||||
$oldformat = $this->FontStyle;
|
||||
$this->SetFont('',$format,$this->FontSizePt);
|
||||
$this->Write(5,$text);
|
||||
$this->ln(5);
|
||||
$this->SetFont('',$oldformat,$this->FontSizePt);
|
||||
}
|
||||
function helptextintopdf($text)
|
||||
{
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize-2);
|
||||
$this->Write(5,$this->delete_html($text));
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
function titleintopdf($title,$description='')
|
||||
{
|
||||
if(!empty($title))
|
||||
{
|
||||
$title = $this->delete_html($title);
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize+4);
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(3);
|
||||
$this->MultiCell('','',$title,'','C',0);
|
||||
if(!empty($description) && isset($description))
|
||||
{
|
||||
$description = $this->delete_html($description);
|
||||
$this->ln(7);
|
||||
$this->SetFontSize($oldsize+2);
|
||||
$this->MultiCell('','',$description,'','C',0);
|
||||
$this->ln(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ln(4);
|
||||
}
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
}
|
||||
function tableintopdf($array)
|
||||
{
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getmaxwidth($array);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$this->Cell($maxwidth[$b]*($this->FontSize),4,$this->delete_html($array[$a][$b]),0,0,'C');
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
function getmaxwidth($array)
|
||||
{
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(($i-1)>=0)
|
||||
{
|
||||
if(strlen($array[($i-1)][$j]) < strlen($array[$i][$j]))
|
||||
{
|
||||
$width[$j] = strlen($array[$i][$j]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$width[$j]=strlen($array[$i][$j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($width);
|
||||
}
|
||||
function write_out($name)
|
||||
{
|
||||
$this->Output($name,"D");
|
||||
}
|
||||
|
||||
function delete_html($text)
|
||||
{
|
||||
$text = html_entity_decode($text);
|
||||
return strip_tags($text);
|
||||
}
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once('tcpdf.php');
|
||||
|
||||
class PDF extends TCPDF
|
||||
{
|
||||
function PDF($orientation='L', $unit='mm', $format='A4')
|
||||
{
|
||||
parent::__construct($orientation,$unit,$format);
|
||||
$this->SetAutoPageBreak(true,10);
|
||||
$this->AliasNbPages();
|
||||
|
||||
}
|
||||
|
||||
function intopdf($text,$format='',$bStripHTML=true)
|
||||
{
|
||||
if ($bStripHTML)
|
||||
{
|
||||
$text = $this->delete_html($text);
|
||||
}
|
||||
$oldformat = $this->FontStyle;
|
||||
$this->SetFont('',$format,$this->FontSizePt);
|
||||
$this->Write(5,$text);
|
||||
$this->ln(5);
|
||||
$this->SetFont('',$oldformat,$this->FontSizePt);
|
||||
}
|
||||
function helptextintopdf($text)
|
||||
{
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize-2);
|
||||
$this->Write(5,$this->delete_html($text));
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
function titleintopdf($title,$description='')
|
||||
{
|
||||
if(!empty($title))
|
||||
{
|
||||
$title = $this->delete_html($title);
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize+4);
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(3);
|
||||
$this->MultiCell('','',$title,'','C',0);
|
||||
if(!empty($description) && isset($description))
|
||||
{
|
||||
$description = $this->delete_html($description);
|
||||
$this->ln(7);
|
||||
$this->SetFontSize($oldsize+2);
|
||||
$this->MultiCell('','',$description,'','C',0);
|
||||
$this->ln(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ln(4);
|
||||
}
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
}
|
||||
function tableintopdf($array)
|
||||
{
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getmaxwidth($array);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$this->Cell($maxwidth[$b]*($this->FontSize),4,$this->delete_html($array[$a][$b]),0,0,'C');
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
function getmaxwidth($array)
|
||||
{
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(($i-1)>=0)
|
||||
{
|
||||
if(strlen($array[($i-1)][$j]) < strlen($array[$i][$j]))
|
||||
{
|
||||
$width[$j] = strlen($array[$i][$j]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$width[$j]=strlen($array[$i][$j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($width);
|
||||
}
|
||||
function write_out($name)
|
||||
{
|
||||
$this->Output($name,"D");
|
||||
}
|
||||
|
||||
function delete_html($text)
|
||||
{
|
||||
$text = html_entity_decode($text);
|
||||
return strip_tags($text);
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -1,102 +1,102 @@
|
||||
<?php
|
||||
$type='TrueTypeUnicode';
|
||||
$name='AlMohanad';
|
||||
$desc=array('Ascent'=>1093,'Descent'=>-509,'CapHeight'=>1093,'Flags'=>32,'FontBBox'=>'[-278 -507 1124 1093]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600);
|
||||
$up=-136;
|
||||
$ut=64;
|
||||
$dw=600;
|
||||
$cw=array(
|
||||
0=>0,32=>139,33=>185,34=>308,35=>278,36=>278,37=>556,38=>463,39=>154,40=>185,41=>185,42=>278,43=>317,44=>139,45=>185,46=>139,
|
||||
47=>154,48=>278,49=>278,50=>278,51=>278,52=>278,53=>278,54=>278,55=>278,56=>278,57=>278,58=>185,59=>185,60=>317,61=>317,62=>317,
|
||||
63=>278,64=>517,65=>401,66=>371,67=>401,68=>402,69=>371,70=>339,71=>432,72=>430,73=>214,74=>278,75=>424,76=>369,77=>524,78=>401,
|
||||
79=>432,80=>339,81=>432,82=>396,83=>309,84=>371,85=>401,86=>401,87=>556,88=>401,89=>401,90=>371,91=>185,92=>154,93=>185,94=>323,
|
||||
95=>278,96=>185,97=>278,98=>309,99=>247,100=>309,101=>247,102=>185,103=>278,104=>309,105=>154,106=>185,107=>309,108=>154,109=>463,110=>309,
|
||||
111=>278,112=>309,113=>309,114=>247,115=>216,116=>185,117=>309,118=>278,119=>401,120=>278,121=>278,122=>247,123=>219,124=>122,125=>219,126=>289,
|
||||
8364=>278,1027=>339,8218=>185,1107=>254,8222=>278,8230=>556,8224=>278,8225=>278,710=>185,8240=>556,352=>309,8249=>185,338=>556,1036=>432,381=>371,1039=>432,
|
||||
8216=>185,8217=>185,8220=>278,8221=>278,8226=>194,8211=>278,8212=>556,732=>185,8482=>556,353=>216,8250=>185,339=>401,1116=>297,382=>247,376=>401,161=>185,
|
||||
162=>278,163=>278,164=>278,165=>278,166=>122,167=>278,168=>185,169=>415,170=>167,171=>278,172=>317,174=>415,175=>185,176=>222,177=>317,178=>167,
|
||||
179=>167,180=>185,181=>309,182=>300,183=>139,184=>185,185=>167,186=>183,187=>278,188=>417,189=>417,190=>417,191=>278,192=>401,193=>401,194=>401,
|
||||
195=>401,196=>401,197=>401,198=>556,199=>401,200=>371,201=>371,202=>371,203=>371,204=>216,205=>216,206=>216,207=>216,208=>401,209=>401,210=>432,
|
||||
211=>432,212=>432,213=>432,214=>432,215=>317,216=>432,217=>401,218=>401,219=>401,220=>401,221=>401,222=>339,223=>309,224=>278,225=>278,226=>278,
|
||||
227=>278,228=>278,229=>278,230=>401,231=>247,232=>247,233=>247,234=>247,235=>247,236=>154,237=>154,238=>154,239=>154,240=>278,241=>309,242=>278,
|
||||
243=>278,244=>278,245=>278,246=>278,247=>317,248=>278,249=>309,250=>309,251=>309,252=>309,253=>278,254=>309,255=>278,256=>401,257=>278,258=>401,
|
||||
259=>278,260=>401,261=>278,262=>401,263=>247,264=>401,265=>247,266=>401,267=>247,268=>401,269=>247,270=>401,271=>309,272=>401,273=>309,274=>371,
|
||||
275=>247,276=>371,277=>247,278=>371,279=>247,280=>371,281=>247,282=>371,283=>247,284=>432,285=>278,286=>432,287=>278,288=>432,289=>278,290=>432,
|
||||
291=>278,292=>432,293=>309,294=>432,295=>309,296=>216,297=>154,298=>216,299=>154,300=>216,301=>154,302=>216,303=>154,304=>216,305=>154,306=>490,
|
||||
307=>270,308=>278,309=>185,310=>432,311=>309,312=>297,313=>371,314=>154,315=>371,316=>154,317=>371,318=>154,319=>371,320=>293,321=>371,322=>154,
|
||||
323=>401,324=>309,325=>401,326=>309,327=>401,328=>309,329=>391,330=>401,331=>309,332=>432,333=>278,334=>432,335=>278,336=>432,337=>278,340=>401,
|
||||
341=>247,342=>401,343=>247,344=>401,345=>247,346=>309,347=>216,348=>309,349=>216,350=>309,351=>216,354=>371,355=>185,356=>371,357=>185,358=>371,
|
||||
359=>185,360=>401,361=>309,362=>401,363=>309,364=>401,365=>309,366=>401,367=>309,368=>401,369=>309,370=>401,371=>309,372=>556,373=>401,374=>401,
|
||||
375=>278,377=>371,378=>247,379=>371,380=>247,383=>185,450=>317,477=>247,484=>432,485=>278,536=>309,537=>216,538=>371,539=>185,658=>282,711=>185,
|
||||
728=>185,729=>185,730=>185,731=>185,733=>185,768=>0,769=>0,770=>0,771=>0,772=>0,773=>0,774=>0,775=>0,776=>0,777=>0,778=>0,
|
||||
779=>0,780=>0,781=>0,782=>0,783=>0,784=>0,785=>0,786=>0,787=>0,788=>0,789=>0,790=>0,791=>0,792=>0,793=>0,794=>0,
|
||||
795=>0,796=>0,797=>0,798=>0,799=>0,800=>0,801=>0,802=>0,803=>0,804=>0,805=>0,806=>0,807=>0,808=>0,809=>0,810=>0,
|
||||
811=>0,812=>0,813=>0,814=>0,815=>0,816=>0,817=>0,818=>0,819=>0,820=>0,821=>0,822=>0,823=>0,824=>0,825=>0,826=>0,
|
||||
827=>0,828=>0,829=>0,830=>0,831=>0,864=>0,865=>0,884=>111,885=>111,890=>0,894=>185,900=>100,901=>183,902=>401,903=>139,904=>451,
|
||||
905=>532,906=>316,908=>451,910=>501,911=>451,912=>183,913=>401,914=>371,915=>339,916=>422,917=>371,918=>371,919=>432,920=>432,921=>216,922=>432,
|
||||
923=>401,924=>524,925=>401,926=>361,927=>432,928=>451,929=>339,931=>361,932=>371,933=>401,934=>482,935=>401,936=>482,937=>451,938=>0,939=>401,
|
||||
940=>336,941=>244,942=>336,943=>183,944=>306,945=>336,946=>306,947=>306,948=>306,949=>244,950=>275,951=>336,952=>306,953=>183,954=>338,955=>275,
|
||||
956=>336,957=>275,958=>275,959=>306,960=>336,961=>306,962=>244,963=>306,964=>244,965=>306,966=>367,967=>275,968=>397,969=>397,970=>183,971=>306,
|
||||
972=>306,973=>306,974=>397,976=>306,977=>306,978=>401,979=>401,980=>401,981=>367,982=>336,986=>283,987=>237,988=>339,989=>261,1024=>371,1025=>371,
|
||||
1026=>371,1028=>401,1029=>309,1030=>216,1031=>216,1032=>278,1033=>573,1034=>573,1035=>449,1037=>432,1038=>401,1040=>401,1041=>371,1042=>371,1043=>328,1044=>432,
|
||||
1045=>371,1046=>615,1047=>313,1048=>429,1049=>429,1050=>424,1051=>432,1052=>524,1053=>432,1054=>432,1055=>430,1056=>339,1057=>401,1058=>371,1059=>401,1060=>444,
|
||||
1061=>401,1062=>429,1063=>432,1064=>618,1065=>618,1066=>482,1067=>539,1068=>350,1069=>401,1070=>619,1071=>408,1072=>278,1073=>278,1074=>279,1075=>246,1076=>309,
|
||||
1077=>247,1078=>417,1079=>227,1080=>319,1081=>319,1082=>297,1083=>302,1084=>376,1085=>309,1086=>278,1087=>309,1088=>309,1089=>247,1090=>274,1091=>278,1092=>458,
|
||||
1093=>278,1094=>309,1095=>309,1096=>454,1097=>454,1098=>340,1099=>423,1100=>284,1101=>247,1102=>439,1103=>284,1104=>247,1105=>247,1106=>309,1108=>247,1109=>216,
|
||||
1110=>154,1111=>154,1112=>185,1113=>440,1114=>437,1115=>309,1117=>309,1118=>278,1119=>309,1164=>339,1165=>284,1166=>339,1167=>309,1168=>339,1169=>254,1170=>339,
|
||||
1171=>254,1172=>339,1173=>254,1174=>615,1175=>417,1176=>322,1177=>216,1178=>432,1179=>297,1180=>432,1181=>297,1182=>432,1183=>297,1184=>537,1185=>352,1186=>432,
|
||||
1187=>309,1188=>563,1189=>408,1190=>432,1191=>461,1192=>401,1193=>247,1194=>401,1195=>247,1196=>371,1197=>274,1198=>401,1199=>278,1200=>401,1201=>278,1202=>401,
|
||||
1203=>278,1204=>581,1205=>432,1206=>432,1207=>309,1208=>432,1209=>309,1210=>432,1211=>309,1212=>367,1213=>247,1214=>367,1215=>247,1216=>216,1217=>615,1218=>417,
|
||||
1219=>432,1220=>297,1223=>432,1224=>309,1227=>432,1228=>309,1232=>401,1233=>278,1234=>401,1235=>278,1236=>556,1237=>401,1238=>371,1239=>247,1240=>367,1241=>247,
|
||||
1242=>367,1243=>247,1244=>615,1245=>417,1246=>313,1247=>227,1248=>322,1249=>216,1250=>432,1251=>309,1252=>432,1253=>309,1254=>432,1255=>278,1256=>432,1257=>278,
|
||||
1258=>432,1259=>278,1260=>401,1261=>247,1262=>401,1263=>278,1264=>401,1265=>278,1266=>401,1267=>278,1268=>432,1269=>309,1272=>548,1273=>423,1488=>280,1489=>280,
|
||||
1490=>174,1491=>280,1492=>280,1493=>158,1494=>158,1495=>280,1496=>280,1497=>158,1498=>287,1499=>280,1500=>280,1501=>280,1502=>280,1503=>156,1504=>158,1505=>280,
|
||||
1506=>280,1507=>292,1508=>280,1509=>273,1510=>280,1511=>305,1512=>285,1513=>299,1514=>280,1548=>195,1563=>246,1567=>340,1569=>392,1570=>306,1571=>247,1572=>447,
|
||||
1573=>247,1574=>602,1575=>192,1576=>635,1577=>369,1578=>635,1579=>635,1580=>548,1581=>1173,1582=>548,1583=>363,1584=>363,1585=>439,1586=>442,1587=>875,1588=>875,
|
||||
1589=>1061,1590=>1061,1591=>811,1592=>811,1593=>549,1594=>547,1600=>389,1601=>755,1602=>574,1603=>717,1604=>555,1605=>423,1606=>532,1607=>371,1608=>454,1609=>633,
|
||||
1610=>643,1611=>-19,1612=>-26,1613=>-20,1614=>-19,1615=>-18,1616=>-19,1617=>-19,1618=>-15,1632=>383,1633=>383,1634=>383,1635=>383,1636=>383,1637=>383,1638=>383,
|
||||
1639=>383,1640=>383,1641=>383,1642=>383,1645=>398,7936=>336,7937=>336,7938=>336,7939=>336,7940=>336,7941=>336,7942=>336,7943=>336,7944=>401,7945=>401,7946=>401,
|
||||
7947=>401,7948=>401,7949=>401,7950=>401,7951=>401,7952=>244,7953=>244,7954=>244,7955=>244,7956=>244,7957=>244,7960=>371,7961=>371,7962=>371,7963=>371,7964=>371,
|
||||
7965=>371,7968=>336,7969=>336,7970=>336,7971=>336,7972=>336,7973=>336,7974=>336,7975=>336,7976=>432,7977=>432,7978=>432,7979=>432,7980=>432,7981=>432,7982=>432,
|
||||
7983=>432,7984=>183,7985=>183,7986=>183,7987=>183,7988=>183,7989=>183,7990=>183,7991=>183,7992=>216,7993=>216,7994=>216,7995=>216,7996=>216,7997=>216,7998=>216,
|
||||
7999=>216,8000=>306,8001=>306,8002=>306,8003=>306,8004=>306,8005=>306,8008=>432,8009=>432,8010=>432,8011=>432,8012=>432,8013=>432,8016=>306,8017=>306,8018=>306,
|
||||
8019=>306,8020=>306,8021=>306,8022=>306,8023=>306,8025=>401,8027=>401,8029=>401,8031=>401,8032=>397,8033=>397,8034=>397,8035=>397,8036=>397,8037=>397,8038=>397,
|
||||
8039=>397,8040=>451,8041=>451,8042=>451,8043=>451,8044=>451,8045=>451,8046=>451,8047=>451,8048=>336,8049=>336,8050=>244,8051=>244,8052=>336,8053=>336,8054=>183,
|
||||
8055=>183,8056=>306,8057=>306,8058=>306,8059=>306,8060=>397,8061=>397,8064=>336,8065=>336,8066=>336,8067=>336,8068=>336,8069=>336,8070=>336,8071=>336,8072=>401,
|
||||
8073=>401,8074=>401,8075=>401,8076=>401,8077=>401,8078=>401,8079=>401,8080=>336,8081=>336,8082=>336,8083=>336,8084=>336,8085=>336,8086=>336,8087=>336,8088=>432,
|
||||
8089=>432,8090=>432,8091=>432,8092=>432,8093=>432,8094=>432,8095=>432,8096=>397,8097=>397,8098=>397,8099=>397,8100=>397,8101=>397,8102=>397,8103=>397,8104=>451,
|
||||
8105=>451,8106=>451,8107=>451,8108=>451,8109=>451,8110=>451,8111=>451,8112=>336,8113=>336,8114=>336,8115=>336,8116=>336,8118=>336,8119=>336,8120=>401,8121=>401,
|
||||
8122=>401,8123=>401,8124=>401,8125=>278,8126=>0,8127=>278,8128=>278,8129=>306,8130=>336,8131=>336,8132=>336,8134=>336,8135=>336,8136=>371,8137=>371,8138=>432,
|
||||
8139=>432,8140=>432,8141=>278,8142=>278,8143=>278,8144=>183,8145=>183,8146=>183,8147=>183,8150=>183,8151=>183,8152=>216,8153=>216,8154=>216,8155=>216,8157=>278,
|
||||
8158=>278,8159=>278,8160=>306,8161=>306,8162=>306,8163=>306,8164=>306,8165=>306,8166=>306,8167=>306,8168=>401,8169=>401,8170=>401,8171=>401,8172=>339,8173=>306,
|
||||
8174=>306,8175=>278,8178=>397,8179=>397,8180=>397,8182=>397,8183=>397,8184=>432,8185=>432,8186=>451,8187=>451,8188=>451,8189=>278,8190=>278,8208=>185,8209=>185,
|
||||
8219=>185,8223=>278,8227=>311,8241=>1011,8248=>261,8251=>404,8253=>386,8255=>529,8256=>529,8257=>188,8258=>517,8259=>185,8260=>93,8261=>184,8262=>184,8267=>300,
|
||||
8308=>167,8309=>556,8321=>167,8322=>167,8323=>167,8324=>167,8352=>394,8353=>401,8354=>435,8355=>339,8356=>278,8357=>463,8358=>401,8359=>389,8361=>556,8470=>530,
|
||||
8471=>415,8479=>401,8483=>401,8486=>451,8487=>451,8494=>306,8498=>339,8543=>417,8706=>274,8710=>340,8721=>396,8722=>317,8730=>305,8734=>418,8800=>317,8804=>317,
|
||||
8805=>317,9674=>274,12353=>556,12354=>556,12355=>556,12356=>556,12357=>556,12358=>556,12359=>556,12360=>556,12361=>556,12362=>556,12363=>556,12364=>556,12365=>556,12366=>556,
|
||||
12367=>556,12368=>556,12369=>556,12370=>556,12371=>556,12372=>556,12373=>556,12374=>556,12375=>556,12376=>556,12377=>556,12378=>556,12379=>556,12380=>556,12381=>556,12382=>556,
|
||||
12383=>556,12384=>556,12385=>556,12386=>556,12387=>556,12388=>556,12389=>556,12390=>556,12391=>556,12392=>556,12393=>556,12394=>556,12395=>556,12396=>556,12397=>556,12398=>556,
|
||||
12399=>556,12400=>556,12401=>556,12402=>556,12403=>556,12404=>556,12405=>556,12406=>556,12407=>556,12408=>556,12409=>556,12410=>556,12411=>556,12412=>556,12413=>556,12414=>556,
|
||||
12415=>556,12416=>556,12417=>556,12418=>556,12419=>556,12420=>556,12421=>556,12422=>556,12423=>556,12424=>556,12425=>556,12426=>556,12427=>556,12428=>556,12429=>556,12430=>556,
|
||||
12431=>556,12432=>556,12433=>556,12434=>556,12435=>556,12449=>556,12450=>556,12451=>556,12452=>556,12453=>556,12454=>556,12455=>556,12456=>556,12457=>556,12458=>556,12459=>556,
|
||||
12460=>556,12461=>556,12462=>556,12463=>556,12464=>556,12465=>556,12466=>556,12467=>556,12468=>556,12469=>556,12470=>556,12471=>556,12472=>556,12473=>556,12474=>556,12475=>556,
|
||||
12476=>556,12477=>556,12478=>556,12479=>556,12480=>556,12481=>556,12482=>556,12483=>556,12484=>556,12485=>556,12486=>556,12487=>556,12488=>556,12489=>556,12490=>556,12491=>556,
|
||||
12492=>556,12493=>556,12494=>556,12495=>556,12496=>556,12497=>556,12498=>556,12499=>556,12500=>556,12501=>556,12502=>556,12503=>556,12504=>556,12505=>556,12506=>556,12507=>556,
|
||||
12508=>556,12509=>556,12510=>556,12511=>556,12512=>556,12513=>556,12514=>556,12515=>556,12516=>556,12517=>556,12518=>556,12519=>556,12520=>556,12521=>556,12522=>556,12523=>556,
|
||||
12524=>556,12525=>556,12526=>556,12527=>556,12528=>556,12529=>556,12530=>556,12531=>556,12532=>556,12533=>556,12534=>556,63033=>278,63034=>278,63035=>278,63036=>278,63037=>278,
|
||||
63038=>278,63039=>278,63040=>278,63041=>278,63171=>185,63196=>278,64256=>309,64257=>309,64258=>309,64259=>463,64260=>463,64262=>402,64606=>0,64607=>0,64608=>0,64609=>0,
|
||||
64610=>0,64830=>467,64831=>467,65010=>814,65152=>392,65153=>306,65154=>281,65155=>247,65156=>250,65157=>447,65158=>412,65159=>247,65160=>222,65161=>602,65162=>535,65163=>360,
|
||||
65164=>329,65165=>192,65166=>220,65167=>635,65168=>644,65169=>338,65170=>321,65171=>369,65172=>419,65173=>635,65174=>644,65175=>345,65176=>336,65177=>635,65178=>644,65179=>393,
|
||||
65180=>345,65181=>548,65182=>553,65183=>637,65184=>652,65185=>548,65186=>546,65187=>637,65188=>656,65189=>548,65190=>544,65191=>637,65192=>656,65193=>363,65194=>439,65195=>363,
|
||||
65196=>439,65197=>440,65198=>471,65199=>439,65200=>474,65201=>875,65202=>871,65203=>608,65204=>588,65205=>875,65206=>871,65207=>609,65208=>587,65209=>1061,65210=>1033,65211=>794,
|
||||
65212=>758,65213=>1061,65214=>1033,65215=>794,65216=>761,65217=>811,65218=>793,65219=>659,65220=>647,65221=>811,65222=>793,65223=>659,65224=>642,65225=>549,65226=>481,65227=>512,
|
||||
65228=>409,65229=>547,65230=>476,65231=>512,65232=>409,65233=>755,65234=>748,65235=>416,65236=>442,65237=>574,65238=>550,65239=>416,65240=>442,65241=>717,65242=>687,65243=>883,
|
||||
65244=>409,65245=>555,65246=>511,65247=>338,65248=>297,65249=>423,65250=>478,65251=>489,65252=>476,65253=>532,65254=>548,65255=>336,65256=>326,65257=>371,65258=>391,65259=>524,
|
||||
65260=>412,65261=>454,65262=>412,65263=>633,65264=>566,65265=>643,65266=>560,65267=>357,65268=>333,65269=>623,65270=>617,65271=>603,65272=>621,65273=>576,65274=>617,65275=>576,
|
||||
65276=>625);
|
||||
$enc='';
|
||||
$diff='';
|
||||
$file='almohanad.z';
|
||||
$ctg='almohanad.ctg.z';
|
||||
$originalsize=227760;
|
||||
// --- EOF ---
|
||||
<?php
|
||||
$type='TrueTypeUnicode';
|
||||
$name='AlMohanad';
|
||||
$desc=array('Ascent'=>1093,'Descent'=>-509,'CapHeight'=>1093,'Flags'=>32,'FontBBox'=>'[-278 -507 1124 1093]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600);
|
||||
$up=-136;
|
||||
$ut=64;
|
||||
$dw=600;
|
||||
$cw=array(
|
||||
0=>0,32=>139,33=>185,34=>308,35=>278,36=>278,37=>556,38=>463,39=>154,40=>185,41=>185,42=>278,43=>317,44=>139,45=>185,46=>139,
|
||||
47=>154,48=>278,49=>278,50=>278,51=>278,52=>278,53=>278,54=>278,55=>278,56=>278,57=>278,58=>185,59=>185,60=>317,61=>317,62=>317,
|
||||
63=>278,64=>517,65=>401,66=>371,67=>401,68=>402,69=>371,70=>339,71=>432,72=>430,73=>214,74=>278,75=>424,76=>369,77=>524,78=>401,
|
||||
79=>432,80=>339,81=>432,82=>396,83=>309,84=>371,85=>401,86=>401,87=>556,88=>401,89=>401,90=>371,91=>185,92=>154,93=>185,94=>323,
|
||||
95=>278,96=>185,97=>278,98=>309,99=>247,100=>309,101=>247,102=>185,103=>278,104=>309,105=>154,106=>185,107=>309,108=>154,109=>463,110=>309,
|
||||
111=>278,112=>309,113=>309,114=>247,115=>216,116=>185,117=>309,118=>278,119=>401,120=>278,121=>278,122=>247,123=>219,124=>122,125=>219,126=>289,
|
||||
8364=>278,1027=>339,8218=>185,1107=>254,8222=>278,8230=>556,8224=>278,8225=>278,710=>185,8240=>556,352=>309,8249=>185,338=>556,1036=>432,381=>371,1039=>432,
|
||||
8216=>185,8217=>185,8220=>278,8221=>278,8226=>194,8211=>278,8212=>556,732=>185,8482=>556,353=>216,8250=>185,339=>401,1116=>297,382=>247,376=>401,161=>185,
|
||||
162=>278,163=>278,164=>278,165=>278,166=>122,167=>278,168=>185,169=>415,170=>167,171=>278,172=>317,174=>415,175=>185,176=>222,177=>317,178=>167,
|
||||
179=>167,180=>185,181=>309,182=>300,183=>139,184=>185,185=>167,186=>183,187=>278,188=>417,189=>417,190=>417,191=>278,192=>401,193=>401,194=>401,
|
||||
195=>401,196=>401,197=>401,198=>556,199=>401,200=>371,201=>371,202=>371,203=>371,204=>216,205=>216,206=>216,207=>216,208=>401,209=>401,210=>432,
|
||||
211=>432,212=>432,213=>432,214=>432,215=>317,216=>432,217=>401,218=>401,219=>401,220=>401,221=>401,222=>339,223=>309,224=>278,225=>278,226=>278,
|
||||
227=>278,228=>278,229=>278,230=>401,231=>247,232=>247,233=>247,234=>247,235=>247,236=>154,237=>154,238=>154,239=>154,240=>278,241=>309,242=>278,
|
||||
243=>278,244=>278,245=>278,246=>278,247=>317,248=>278,249=>309,250=>309,251=>309,252=>309,253=>278,254=>309,255=>278,256=>401,257=>278,258=>401,
|
||||
259=>278,260=>401,261=>278,262=>401,263=>247,264=>401,265=>247,266=>401,267=>247,268=>401,269=>247,270=>401,271=>309,272=>401,273=>309,274=>371,
|
||||
275=>247,276=>371,277=>247,278=>371,279=>247,280=>371,281=>247,282=>371,283=>247,284=>432,285=>278,286=>432,287=>278,288=>432,289=>278,290=>432,
|
||||
291=>278,292=>432,293=>309,294=>432,295=>309,296=>216,297=>154,298=>216,299=>154,300=>216,301=>154,302=>216,303=>154,304=>216,305=>154,306=>490,
|
||||
307=>270,308=>278,309=>185,310=>432,311=>309,312=>297,313=>371,314=>154,315=>371,316=>154,317=>371,318=>154,319=>371,320=>293,321=>371,322=>154,
|
||||
323=>401,324=>309,325=>401,326=>309,327=>401,328=>309,329=>391,330=>401,331=>309,332=>432,333=>278,334=>432,335=>278,336=>432,337=>278,340=>401,
|
||||
341=>247,342=>401,343=>247,344=>401,345=>247,346=>309,347=>216,348=>309,349=>216,350=>309,351=>216,354=>371,355=>185,356=>371,357=>185,358=>371,
|
||||
359=>185,360=>401,361=>309,362=>401,363=>309,364=>401,365=>309,366=>401,367=>309,368=>401,369=>309,370=>401,371=>309,372=>556,373=>401,374=>401,
|
||||
375=>278,377=>371,378=>247,379=>371,380=>247,383=>185,450=>317,477=>247,484=>432,485=>278,536=>309,537=>216,538=>371,539=>185,658=>282,711=>185,
|
||||
728=>185,729=>185,730=>185,731=>185,733=>185,768=>0,769=>0,770=>0,771=>0,772=>0,773=>0,774=>0,775=>0,776=>0,777=>0,778=>0,
|
||||
779=>0,780=>0,781=>0,782=>0,783=>0,784=>0,785=>0,786=>0,787=>0,788=>0,789=>0,790=>0,791=>0,792=>0,793=>0,794=>0,
|
||||
795=>0,796=>0,797=>0,798=>0,799=>0,800=>0,801=>0,802=>0,803=>0,804=>0,805=>0,806=>0,807=>0,808=>0,809=>0,810=>0,
|
||||
811=>0,812=>0,813=>0,814=>0,815=>0,816=>0,817=>0,818=>0,819=>0,820=>0,821=>0,822=>0,823=>0,824=>0,825=>0,826=>0,
|
||||
827=>0,828=>0,829=>0,830=>0,831=>0,864=>0,865=>0,884=>111,885=>111,890=>0,894=>185,900=>100,901=>183,902=>401,903=>139,904=>451,
|
||||
905=>532,906=>316,908=>451,910=>501,911=>451,912=>183,913=>401,914=>371,915=>339,916=>422,917=>371,918=>371,919=>432,920=>432,921=>216,922=>432,
|
||||
923=>401,924=>524,925=>401,926=>361,927=>432,928=>451,929=>339,931=>361,932=>371,933=>401,934=>482,935=>401,936=>482,937=>451,938=>0,939=>401,
|
||||
940=>336,941=>244,942=>336,943=>183,944=>306,945=>336,946=>306,947=>306,948=>306,949=>244,950=>275,951=>336,952=>306,953=>183,954=>338,955=>275,
|
||||
956=>336,957=>275,958=>275,959=>306,960=>336,961=>306,962=>244,963=>306,964=>244,965=>306,966=>367,967=>275,968=>397,969=>397,970=>183,971=>306,
|
||||
972=>306,973=>306,974=>397,976=>306,977=>306,978=>401,979=>401,980=>401,981=>367,982=>336,986=>283,987=>237,988=>339,989=>261,1024=>371,1025=>371,
|
||||
1026=>371,1028=>401,1029=>309,1030=>216,1031=>216,1032=>278,1033=>573,1034=>573,1035=>449,1037=>432,1038=>401,1040=>401,1041=>371,1042=>371,1043=>328,1044=>432,
|
||||
1045=>371,1046=>615,1047=>313,1048=>429,1049=>429,1050=>424,1051=>432,1052=>524,1053=>432,1054=>432,1055=>430,1056=>339,1057=>401,1058=>371,1059=>401,1060=>444,
|
||||
1061=>401,1062=>429,1063=>432,1064=>618,1065=>618,1066=>482,1067=>539,1068=>350,1069=>401,1070=>619,1071=>408,1072=>278,1073=>278,1074=>279,1075=>246,1076=>309,
|
||||
1077=>247,1078=>417,1079=>227,1080=>319,1081=>319,1082=>297,1083=>302,1084=>376,1085=>309,1086=>278,1087=>309,1088=>309,1089=>247,1090=>274,1091=>278,1092=>458,
|
||||
1093=>278,1094=>309,1095=>309,1096=>454,1097=>454,1098=>340,1099=>423,1100=>284,1101=>247,1102=>439,1103=>284,1104=>247,1105=>247,1106=>309,1108=>247,1109=>216,
|
||||
1110=>154,1111=>154,1112=>185,1113=>440,1114=>437,1115=>309,1117=>309,1118=>278,1119=>309,1164=>339,1165=>284,1166=>339,1167=>309,1168=>339,1169=>254,1170=>339,
|
||||
1171=>254,1172=>339,1173=>254,1174=>615,1175=>417,1176=>322,1177=>216,1178=>432,1179=>297,1180=>432,1181=>297,1182=>432,1183=>297,1184=>537,1185=>352,1186=>432,
|
||||
1187=>309,1188=>563,1189=>408,1190=>432,1191=>461,1192=>401,1193=>247,1194=>401,1195=>247,1196=>371,1197=>274,1198=>401,1199=>278,1200=>401,1201=>278,1202=>401,
|
||||
1203=>278,1204=>581,1205=>432,1206=>432,1207=>309,1208=>432,1209=>309,1210=>432,1211=>309,1212=>367,1213=>247,1214=>367,1215=>247,1216=>216,1217=>615,1218=>417,
|
||||
1219=>432,1220=>297,1223=>432,1224=>309,1227=>432,1228=>309,1232=>401,1233=>278,1234=>401,1235=>278,1236=>556,1237=>401,1238=>371,1239=>247,1240=>367,1241=>247,
|
||||
1242=>367,1243=>247,1244=>615,1245=>417,1246=>313,1247=>227,1248=>322,1249=>216,1250=>432,1251=>309,1252=>432,1253=>309,1254=>432,1255=>278,1256=>432,1257=>278,
|
||||
1258=>432,1259=>278,1260=>401,1261=>247,1262=>401,1263=>278,1264=>401,1265=>278,1266=>401,1267=>278,1268=>432,1269=>309,1272=>548,1273=>423,1488=>280,1489=>280,
|
||||
1490=>174,1491=>280,1492=>280,1493=>158,1494=>158,1495=>280,1496=>280,1497=>158,1498=>287,1499=>280,1500=>280,1501=>280,1502=>280,1503=>156,1504=>158,1505=>280,
|
||||
1506=>280,1507=>292,1508=>280,1509=>273,1510=>280,1511=>305,1512=>285,1513=>299,1514=>280,1548=>195,1563=>246,1567=>340,1569=>392,1570=>306,1571=>247,1572=>447,
|
||||
1573=>247,1574=>602,1575=>192,1576=>635,1577=>369,1578=>635,1579=>635,1580=>548,1581=>1173,1582=>548,1583=>363,1584=>363,1585=>439,1586=>442,1587=>875,1588=>875,
|
||||
1589=>1061,1590=>1061,1591=>811,1592=>811,1593=>549,1594=>547,1600=>389,1601=>755,1602=>574,1603=>717,1604=>555,1605=>423,1606=>532,1607=>371,1608=>454,1609=>633,
|
||||
1610=>643,1611=>-19,1612=>-26,1613=>-20,1614=>-19,1615=>-18,1616=>-19,1617=>-19,1618=>-15,1632=>383,1633=>383,1634=>383,1635=>383,1636=>383,1637=>383,1638=>383,
|
||||
1639=>383,1640=>383,1641=>383,1642=>383,1645=>398,7936=>336,7937=>336,7938=>336,7939=>336,7940=>336,7941=>336,7942=>336,7943=>336,7944=>401,7945=>401,7946=>401,
|
||||
7947=>401,7948=>401,7949=>401,7950=>401,7951=>401,7952=>244,7953=>244,7954=>244,7955=>244,7956=>244,7957=>244,7960=>371,7961=>371,7962=>371,7963=>371,7964=>371,
|
||||
7965=>371,7968=>336,7969=>336,7970=>336,7971=>336,7972=>336,7973=>336,7974=>336,7975=>336,7976=>432,7977=>432,7978=>432,7979=>432,7980=>432,7981=>432,7982=>432,
|
||||
7983=>432,7984=>183,7985=>183,7986=>183,7987=>183,7988=>183,7989=>183,7990=>183,7991=>183,7992=>216,7993=>216,7994=>216,7995=>216,7996=>216,7997=>216,7998=>216,
|
||||
7999=>216,8000=>306,8001=>306,8002=>306,8003=>306,8004=>306,8005=>306,8008=>432,8009=>432,8010=>432,8011=>432,8012=>432,8013=>432,8016=>306,8017=>306,8018=>306,
|
||||
8019=>306,8020=>306,8021=>306,8022=>306,8023=>306,8025=>401,8027=>401,8029=>401,8031=>401,8032=>397,8033=>397,8034=>397,8035=>397,8036=>397,8037=>397,8038=>397,
|
||||
8039=>397,8040=>451,8041=>451,8042=>451,8043=>451,8044=>451,8045=>451,8046=>451,8047=>451,8048=>336,8049=>336,8050=>244,8051=>244,8052=>336,8053=>336,8054=>183,
|
||||
8055=>183,8056=>306,8057=>306,8058=>306,8059=>306,8060=>397,8061=>397,8064=>336,8065=>336,8066=>336,8067=>336,8068=>336,8069=>336,8070=>336,8071=>336,8072=>401,
|
||||
8073=>401,8074=>401,8075=>401,8076=>401,8077=>401,8078=>401,8079=>401,8080=>336,8081=>336,8082=>336,8083=>336,8084=>336,8085=>336,8086=>336,8087=>336,8088=>432,
|
||||
8089=>432,8090=>432,8091=>432,8092=>432,8093=>432,8094=>432,8095=>432,8096=>397,8097=>397,8098=>397,8099=>397,8100=>397,8101=>397,8102=>397,8103=>397,8104=>451,
|
||||
8105=>451,8106=>451,8107=>451,8108=>451,8109=>451,8110=>451,8111=>451,8112=>336,8113=>336,8114=>336,8115=>336,8116=>336,8118=>336,8119=>336,8120=>401,8121=>401,
|
||||
8122=>401,8123=>401,8124=>401,8125=>278,8126=>0,8127=>278,8128=>278,8129=>306,8130=>336,8131=>336,8132=>336,8134=>336,8135=>336,8136=>371,8137=>371,8138=>432,
|
||||
8139=>432,8140=>432,8141=>278,8142=>278,8143=>278,8144=>183,8145=>183,8146=>183,8147=>183,8150=>183,8151=>183,8152=>216,8153=>216,8154=>216,8155=>216,8157=>278,
|
||||
8158=>278,8159=>278,8160=>306,8161=>306,8162=>306,8163=>306,8164=>306,8165=>306,8166=>306,8167=>306,8168=>401,8169=>401,8170=>401,8171=>401,8172=>339,8173=>306,
|
||||
8174=>306,8175=>278,8178=>397,8179=>397,8180=>397,8182=>397,8183=>397,8184=>432,8185=>432,8186=>451,8187=>451,8188=>451,8189=>278,8190=>278,8208=>185,8209=>185,
|
||||
8219=>185,8223=>278,8227=>311,8241=>1011,8248=>261,8251=>404,8253=>386,8255=>529,8256=>529,8257=>188,8258=>517,8259=>185,8260=>93,8261=>184,8262=>184,8267=>300,
|
||||
8308=>167,8309=>556,8321=>167,8322=>167,8323=>167,8324=>167,8352=>394,8353=>401,8354=>435,8355=>339,8356=>278,8357=>463,8358=>401,8359=>389,8361=>556,8470=>530,
|
||||
8471=>415,8479=>401,8483=>401,8486=>451,8487=>451,8494=>306,8498=>339,8543=>417,8706=>274,8710=>340,8721=>396,8722=>317,8730=>305,8734=>418,8800=>317,8804=>317,
|
||||
8805=>317,9674=>274,12353=>556,12354=>556,12355=>556,12356=>556,12357=>556,12358=>556,12359=>556,12360=>556,12361=>556,12362=>556,12363=>556,12364=>556,12365=>556,12366=>556,
|
||||
12367=>556,12368=>556,12369=>556,12370=>556,12371=>556,12372=>556,12373=>556,12374=>556,12375=>556,12376=>556,12377=>556,12378=>556,12379=>556,12380=>556,12381=>556,12382=>556,
|
||||
12383=>556,12384=>556,12385=>556,12386=>556,12387=>556,12388=>556,12389=>556,12390=>556,12391=>556,12392=>556,12393=>556,12394=>556,12395=>556,12396=>556,12397=>556,12398=>556,
|
||||
12399=>556,12400=>556,12401=>556,12402=>556,12403=>556,12404=>556,12405=>556,12406=>556,12407=>556,12408=>556,12409=>556,12410=>556,12411=>556,12412=>556,12413=>556,12414=>556,
|
||||
12415=>556,12416=>556,12417=>556,12418=>556,12419=>556,12420=>556,12421=>556,12422=>556,12423=>556,12424=>556,12425=>556,12426=>556,12427=>556,12428=>556,12429=>556,12430=>556,
|
||||
12431=>556,12432=>556,12433=>556,12434=>556,12435=>556,12449=>556,12450=>556,12451=>556,12452=>556,12453=>556,12454=>556,12455=>556,12456=>556,12457=>556,12458=>556,12459=>556,
|
||||
12460=>556,12461=>556,12462=>556,12463=>556,12464=>556,12465=>556,12466=>556,12467=>556,12468=>556,12469=>556,12470=>556,12471=>556,12472=>556,12473=>556,12474=>556,12475=>556,
|
||||
12476=>556,12477=>556,12478=>556,12479=>556,12480=>556,12481=>556,12482=>556,12483=>556,12484=>556,12485=>556,12486=>556,12487=>556,12488=>556,12489=>556,12490=>556,12491=>556,
|
||||
12492=>556,12493=>556,12494=>556,12495=>556,12496=>556,12497=>556,12498=>556,12499=>556,12500=>556,12501=>556,12502=>556,12503=>556,12504=>556,12505=>556,12506=>556,12507=>556,
|
||||
12508=>556,12509=>556,12510=>556,12511=>556,12512=>556,12513=>556,12514=>556,12515=>556,12516=>556,12517=>556,12518=>556,12519=>556,12520=>556,12521=>556,12522=>556,12523=>556,
|
||||
12524=>556,12525=>556,12526=>556,12527=>556,12528=>556,12529=>556,12530=>556,12531=>556,12532=>556,12533=>556,12534=>556,63033=>278,63034=>278,63035=>278,63036=>278,63037=>278,
|
||||
63038=>278,63039=>278,63040=>278,63041=>278,63171=>185,63196=>278,64256=>309,64257=>309,64258=>309,64259=>463,64260=>463,64262=>402,64606=>0,64607=>0,64608=>0,64609=>0,
|
||||
64610=>0,64830=>467,64831=>467,65010=>814,65152=>392,65153=>306,65154=>281,65155=>247,65156=>250,65157=>447,65158=>412,65159=>247,65160=>222,65161=>602,65162=>535,65163=>360,
|
||||
65164=>329,65165=>192,65166=>220,65167=>635,65168=>644,65169=>338,65170=>321,65171=>369,65172=>419,65173=>635,65174=>644,65175=>345,65176=>336,65177=>635,65178=>644,65179=>393,
|
||||
65180=>345,65181=>548,65182=>553,65183=>637,65184=>652,65185=>548,65186=>546,65187=>637,65188=>656,65189=>548,65190=>544,65191=>637,65192=>656,65193=>363,65194=>439,65195=>363,
|
||||
65196=>439,65197=>440,65198=>471,65199=>439,65200=>474,65201=>875,65202=>871,65203=>608,65204=>588,65205=>875,65206=>871,65207=>609,65208=>587,65209=>1061,65210=>1033,65211=>794,
|
||||
65212=>758,65213=>1061,65214=>1033,65215=>794,65216=>761,65217=>811,65218=>793,65219=>659,65220=>647,65221=>811,65222=>793,65223=>659,65224=>642,65225=>549,65226=>481,65227=>512,
|
||||
65228=>409,65229=>547,65230=>476,65231=>512,65232=>409,65233=>755,65234=>748,65235=>416,65236=>442,65237=>574,65238=>550,65239=>416,65240=>442,65241=>717,65242=>687,65243=>883,
|
||||
65244=>409,65245=>555,65246=>511,65247=>338,65248=>297,65249=>423,65250=>478,65251=>489,65252=>476,65253=>532,65254=>548,65255=>336,65256=>326,65257=>371,65258=>391,65259=>524,
|
||||
65260=>412,65261=>454,65262=>412,65263=>633,65264=>566,65265=>643,65266=>560,65267=>357,65268=>333,65269=>623,65270=>617,65271=>603,65272=>621,65273=>576,65274=>617,65275=>576,
|
||||
65276=>625);
|
||||
$enc='';
|
||||
$diff='';
|
||||
$file='almohanad.z';
|
||||
$ctg='almohanad.ctg.z';
|
||||
$originalsize=227760;
|
||||
// --- EOF ---
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,32 +1,32 @@
|
||||
<?php
|
||||
// core font definition file for TCPDF (www.tcpdf.org)
|
||||
$type='core';
|
||||
$dw=500;
|
||||
$cw=array(0=>250,1=>250,2=>250,3=>250,4=>250,5=>250,6=>250,7=>250,8=>250,9=>250,
|
||||
10=>250,11=>250,12=>250,13=>250,14=>250,15=>250,16=>250,17=>250,18=>250,19=>250,
|
||||
20=>250,21=>250,22=>250,23=>250,24=>250,25=>250,26=>250,27=>250,28=>250,29=>250,
|
||||
30=>250,31=>250,32=>250,33=>333,34=>713,35=>500,36=>549,37=>833,38=>778,39=>439,
|
||||
40=>333,41=>333,42=>500,43=>549,44=>250,45=>549,46=>250,47=>278,48=>500,49=>500,
|
||||
50=>500,51=>500,52=>500,53=>500,54=>500,55=>500,56=>500,57=>500,58=>278,59=>278,
|
||||
60=>549,61=>549,62=>549,63=>444,64=>549,65=>722,66=>667,67=>722,68=>612,69=>611,
|
||||
70=>763,71=>603,72=>722,73=>333,74=>631,75=>722,76=>686,77=>889,78=>722,79=>722,
|
||||
80=>768,81=>741,82=>556,83=>592,84=>611,85=>690,86=>439,87=>768,88=>645,89=>795,
|
||||
90=>611,91=>333,92=>863,93=>333,94=>658,95=>500,96=>500,97=>631,98=>549,99=>549,
|
||||
100=>494,101=>439,102=>521,103=>411,104=>603,105=>329,106=>603,107=>549,108=>549,
|
||||
109=>576,110=>521,111=>549,112=>549,113=>521,114=>549,115=>603,116=>439,117=>576,
|
||||
118=>713,119=>686,120=>493,121=>686,122=>494,123=>480,124=>200,125=>480,126=>549,
|
||||
127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0,136=>0,137=>0,
|
||||
138=>0,139=>0,140=>0,141=>0,142=>0,143=>0,144=>0,145=>0,146=>0,147=>0,148=>0,
|
||||
149=>0,150=>0,151=>0,152=>0,153=>0,154=>0,155=>0,156=>0,157=>0,158=>0,159=>0,
|
||||
160=>750,161=>620,162=>247,163=>549,164=>167,165=>713,166=>500,167=>753,168=>753,
|
||||
169=>753,170=>753,171=>1042,172=>987,173=>603,174=>987,175=>603,176=>400,177=>549,
|
||||
178=>411,179=>549,180=>549,181=>713,182=>494,183=>460,184=>549,185=>549,186=>549,
|
||||
187=>549,188=>1000,189=>603,190=>1000,191=>658,192=>823,193=>686,194=>795,195=>987,
|
||||
196=>768,197=>768,198=>823,199=>768,200=>768,201=>713,202=>713,203=>713,204=>713,
|
||||
205=>713,206=>713,207=>713,208=>768,209=>713,210=>790,211=>790,212=>890,213=>823,
|
||||
214=>549,215=>250,216=>713,217=>603,218=>603,219=>1042,220=>987,221=>603,222=>987,
|
||||
223=>603,224=>494,225=>329,226=>790,227=>790,228=>786,229=>713,230=>384,231=>384,
|
||||
232=>384,233=>384,234=>384,235=>384,236=>494,237=>494,238=>494,239=>494,240=>0,
|
||||
241=>329,242=>274,243=>686,244=>686,245=>686,246=>384,247=>384,248=>384,249=>384,
|
||||
250=>384,251=>384,252=>494,253=>494,254=>494,255=>0);
|
||||
// --- EOF ---
|
||||
<?php
|
||||
// core font definition file for TCPDF (www.tcpdf.org)
|
||||
$type='core';
|
||||
$dw=500;
|
||||
$cw=array(0=>250,1=>250,2=>250,3=>250,4=>250,5=>250,6=>250,7=>250,8=>250,9=>250,
|
||||
10=>250,11=>250,12=>250,13=>250,14=>250,15=>250,16=>250,17=>250,18=>250,19=>250,
|
||||
20=>250,21=>250,22=>250,23=>250,24=>250,25=>250,26=>250,27=>250,28=>250,29=>250,
|
||||
30=>250,31=>250,32=>250,33=>333,34=>713,35=>500,36=>549,37=>833,38=>778,39=>439,
|
||||
40=>333,41=>333,42=>500,43=>549,44=>250,45=>549,46=>250,47=>278,48=>500,49=>500,
|
||||
50=>500,51=>500,52=>500,53=>500,54=>500,55=>500,56=>500,57=>500,58=>278,59=>278,
|
||||
60=>549,61=>549,62=>549,63=>444,64=>549,65=>722,66=>667,67=>722,68=>612,69=>611,
|
||||
70=>763,71=>603,72=>722,73=>333,74=>631,75=>722,76=>686,77=>889,78=>722,79=>722,
|
||||
80=>768,81=>741,82=>556,83=>592,84=>611,85=>690,86=>439,87=>768,88=>645,89=>795,
|
||||
90=>611,91=>333,92=>863,93=>333,94=>658,95=>500,96=>500,97=>631,98=>549,99=>549,
|
||||
100=>494,101=>439,102=>521,103=>411,104=>603,105=>329,106=>603,107=>549,108=>549,
|
||||
109=>576,110=>521,111=>549,112=>549,113=>521,114=>549,115=>603,116=>439,117=>576,
|
||||
118=>713,119=>686,120=>493,121=>686,122=>494,123=>480,124=>200,125=>480,126=>549,
|
||||
127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0,136=>0,137=>0,
|
||||
138=>0,139=>0,140=>0,141=>0,142=>0,143=>0,144=>0,145=>0,146=>0,147=>0,148=>0,
|
||||
149=>0,150=>0,151=>0,152=>0,153=>0,154=>0,155=>0,156=>0,157=>0,158=>0,159=>0,
|
||||
160=>750,161=>620,162=>247,163=>549,164=>167,165=>713,166=>500,167=>753,168=>753,
|
||||
169=>753,170=>753,171=>1042,172=>987,173=>603,174=>987,175=>603,176=>400,177=>549,
|
||||
178=>411,179=>549,180=>549,181=>713,182=>494,183=>460,184=>549,185=>549,186=>549,
|
||||
187=>549,188=>1000,189=>603,190=>1000,191=>658,192=>823,193=>686,194=>795,195=>987,
|
||||
196=>768,197=>768,198=>823,199=>768,200=>768,201=>713,202=>713,203=>713,204=>713,
|
||||
205=>713,206=>713,207=>713,208=>768,209=>713,210=>790,211=>790,212=>890,213=>823,
|
||||
214=>549,215=>250,216=>713,217=>603,218=>603,219=>1042,220=>987,221=>603,222=>987,
|
||||
223=>603,224=>494,225=>329,226=>790,227=>790,228=>786,229=>713,230=>384,231=>384,
|
||||
232=>384,233=>384,234=>384,235=>384,236=>494,237=>494,238=>494,239=>494,240=>0,
|
||||
241=>329,242=>274,243=>686,244=>686,245=>686,246=>384,247=>384,248=>384,249=>384,
|
||||
250=>384,251=>384,252=>494,253=>494,254=>494,255=>0);
|
||||
// --- EOF ---
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,69 +1,69 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : makeallttffonts.php
|
||||
// Begin : 2008-12-07
|
||||
// Last Update : 2010-08-08
|
||||
//
|
||||
// Description : Process all TTF files on current directory to
|
||||
// build TCPDF compatible font files.
|
||||
//
|
||||
// Author: Nicola Asuni
|
||||
//
|
||||
// (c) Copyright:
|
||||
// Nicola Asuni
|
||||
// Tecnick.com S.r.l.
|
||||
// Via della Pace, 11
|
||||
// 09044 Quartucciu (CA)
|
||||
// ITALY
|
||||
// www.tecnick.com
|
||||
// info@tecnick.com
|
||||
//
|
||||
// License:
|
||||
// Copyright (C) 2004-2010 Nicola Asuni - Tecnick.com S.r.l.
|
||||
//
|
||||
// This file is part of TCPDF software library.
|
||||
//
|
||||
// TCPDF is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as
|
||||
// published by the Free Software Foundation, either version 3 of the
|
||||
// License, or (at your option) any later version.
|
||||
//
|
||||
// TCPDF is distributed in the hope that it will be useful, but
|
||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// See LICENSE.TXT file for more information.
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* Process all TTF files on current directory to build TCPDF compatible font files.
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @copyright Copyright © 2004-2009, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
||||
* @link www.tecnick.com
|
||||
* @since 2008-12-07
|
||||
*/
|
||||
|
||||
/**
|
||||
*/
|
||||
|
||||
// read directory for files (only graphics files).
|
||||
$handle = opendir('.');
|
||||
while($file = readdir($handle)) {
|
||||
$path_parts = pathinfo($file);
|
||||
$file_ext = strtolower($path_parts['extension']);
|
||||
if ($file_ext == 'ttf') {
|
||||
exec('./ttf2ufm -a -F '.$path_parts['basename'].'');
|
||||
exec('php -q makefont.php '.$path_parts['basename'].' '.$path_parts['filename'].'.ufm');
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
|
||||
//============================================================+
|
||||
// END OF FILE
|
||||
//============================================================+
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : makeallttffonts.php
|
||||
// Begin : 2008-12-07
|
||||
// Last Update : 2010-08-08
|
||||
//
|
||||
// Description : Process all TTF files on current directory to
|
||||
// build TCPDF compatible font files.
|
||||
//
|
||||
// Author: Nicola Asuni
|
||||
//
|
||||
// (c) Copyright:
|
||||
// Nicola Asuni
|
||||
// Tecnick.com S.r.l.
|
||||
// Via della Pace, 11
|
||||
// 09044 Quartucciu (CA)
|
||||
// ITALY
|
||||
// www.tecnick.com
|
||||
// info@tecnick.com
|
||||
//
|
||||
// License:
|
||||
// Copyright (C) 2004-2010 Nicola Asuni - Tecnick.com S.r.l.
|
||||
//
|
||||
// This file is part of TCPDF software library.
|
||||
//
|
||||
// TCPDF is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as
|
||||
// published by the Free Software Foundation, either version 3 of the
|
||||
// License, or (at your option) any later version.
|
||||
//
|
||||
// TCPDF is distributed in the hope that it will be useful, but
|
||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// See LICENSE.TXT file for more information.
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* Process all TTF files on current directory to build TCPDF compatible font files.
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @copyright Copyright © 2004-2009, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
||||
* @link www.tecnick.com
|
||||
* @since 2008-12-07
|
||||
*/
|
||||
|
||||
/**
|
||||
*/
|
||||
|
||||
// read directory for files (only graphics files).
|
||||
$handle = opendir('.');
|
||||
while($file = readdir($handle)) {
|
||||
$path_parts = pathinfo($file);
|
||||
$file_ext = strtolower($path_parts['extension']);
|
||||
if ($file_ext == 'ttf') {
|
||||
exec('./ttf2ufm -a -F '.$path_parts['basename'].'');
|
||||
exec('php -q makefont.php '.$path_parts['basename'].' '.$path_parts['filename'].'.ufm');
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
|
||||
//============================================================+
|
||||
// END OF FILE
|
||||
//============================================================+
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
To embed TrueType and OpenType font files, you need to extract the
|
||||
font metrics from the font files and build the required tables using
|
||||
the utility TTF2UFM.
|
||||
|
||||
TTF2UFM is a modified version of Mark Heath's TTF 2 PT1 converter
|
||||
(http://ttf2pt1.sourceforge.net/) by Steven Wittens <steven@acko.net>
|
||||
(http://www.acko.net/blog/ufpdf). That version has been further
|
||||
modified by Ulrich Telle for use with the wxWidgets component
|
||||
wxPdfDocument.
|
||||
|
||||
Following changes where made:
|
||||
|
||||
1) Generated AFM files contain the glyph number for each character.
|
||||
2) Generated UFM files contain the bounding box for each character.
|
||||
3) OpenType support has been activated for the Windows binary,
|
||||
and the generated AFM/UFM files contain the associated
|
||||
original Unicode codes for each character.
|
||||
To embed TrueType and OpenType font files, you need to extract the
|
||||
font metrics from the font files and build the required tables using
|
||||
the utility TTF2UFM.
|
||||
|
||||
TTF2UFM is a modified version of Mark Heath's TTF 2 PT1 converter
|
||||
(http://ttf2pt1.sourceforge.net/) by Steven Wittens <steven@acko.net>
|
||||
(http://www.acko.net/blog/ufpdf). That version has been further
|
||||
modified by Ulrich Telle for use with the wxWidgets component
|
||||
wxPdfDocument.
|
||||
|
||||
Following changes where made:
|
||||
|
||||
1) Generated AFM files contain the glyph number for each character.
|
||||
2) Generated UFM files contain the bounding box for each character.
|
||||
3) OpenType support has been activated for the Windows binary,
|
||||
and the generated AFM/UFM files contain the associated
|
||||
original Unicode codes for each character.
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
<?php
|
||||
// core font definition file for TCPDF (www.tcpdf.org)
|
||||
$type='core';
|
||||
$dw=788;
|
||||
$cw=array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0,6=>0,7=>0,8=>0,9=>0,10=>0,11=>0,12=>0,
|
||||
13=>0,14=>0,15=>0,16=>0,17=>0,18=>0,19=>0,20=>0,21=>0,22=>0,23=>0,24=>0,25=>0,
|
||||
26=>0,27=>0,28=>0,29=>0,30=>0,31=>0,32=>278,33=>974,34=>961,35=>974,36=>980,
|
||||
37=>719,38=>789,39=>790,40=>791,41=>690,42=>960,43=>939,44=>549,45=>855,46=>911,
|
||||
47=>933,48=>911,49=>945,50=>974,51=>755,52=>846,53=>762,54=>761,55=>571,56=>677,
|
||||
57=>763,58=>760,59=>759,60=>754,61=>494,62=>552,63=>537,64=>577,65=>692,66=>786,
|
||||
67=>788,68=>788,69=>790,70=>793,71=>794,72=>816,73=>823,74=>789,75=>841,76=>823,
|
||||
77=>833,78=>816,79=>831,80=>923,81=>744,82=>723,83=>749,84=>790,85=>792,86=>695,
|
||||
87=>776,88=>768,89=>792,90=>759,91=>707,92=>708,93=>682,94=>701,95=>826,96=>815,
|
||||
97=>789,98=>789,99=>707,100=>687,101=>696,102=>689,103=>786,104=>787,105=>713,
|
||||
106=>791,107=>785,108=>791,109=>873,110=>761,111=>762,112=>762,113=>759,114=>759,
|
||||
115=>892,116=>892,117=>788,118=>784,119=>438,120=>138,121=>277,122=>415,123=>392,
|
||||
124=>392,125=>668,126=>668,127=>0,128=>390,129=>390,130=>317,131=>317,132=>276,
|
||||
133=>276,134=>509,135=>509,136=>410,137=>410,138=>234,139=>234,140=>334,141=>334,
|
||||
142=>0,143=>0,144=>0,145=>0,146=>0,147=>0,148=>0,149=>0,150=>0,151=>0,152=>0,
|
||||
153=>0,154=>0,155=>0,156=>0,157=>0,158=>0,159=>0,160=>0,161=>732,162=>544,163=>544,
|
||||
164=>910,165=>667,166=>760,167=>760,168=>776,169=>595,170=>694,171=>626,172=>788,
|
||||
173=>788,174=>788,175=>788,176=>788,177=>788,178=>788,179=>788,180=>788,181=>788,
|
||||
182=>788,183=>788,184=>788,185=>788,186=>788,187=>788,188=>788,189=>788,190=>788,
|
||||
191=>788,192=>788,193=>788,194=>788,195=>788,196=>788,197=>788,198=>788,199=>788,
|
||||
200=>788,201=>788,202=>788,203=>788,204=>788,205=>788,206=>788,207=>788,208=>788,
|
||||
209=>788,210=>788,211=>788,212=>894,213=>838,214=>1016,215=>458,216=>748,217=>924,
|
||||
218=>748,219=>918,220=>927,221=>928,222=>928,223=>834,224=>873,225=>828,226=>924,
|
||||
227=>924,228=>917,229=>930,230=>931,231=>463,232=>883,233=>836,234=>836,235=>867,
|
||||
236=>867,237=>696,238=>696,239=>874,240=>0,241=>874,242=>760,243=>946,244=>771,
|
||||
245=>865,246=>771,247=>888,248=>967,249=>888,250=>831,251=>873,252=>927,253=>970,
|
||||
254=>918,255=>0);
|
||||
// --- EOF ---
|
||||
<?php
|
||||
// core font definition file for TCPDF (www.tcpdf.org)
|
||||
$type='core';
|
||||
$dw=788;
|
||||
$cw=array(0=>0,1=>0,2=>0,3=>0,4=>0,5=>0,6=>0,7=>0,8=>0,9=>0,10=>0,11=>0,12=>0,
|
||||
13=>0,14=>0,15=>0,16=>0,17=>0,18=>0,19=>0,20=>0,21=>0,22=>0,23=>0,24=>0,25=>0,
|
||||
26=>0,27=>0,28=>0,29=>0,30=>0,31=>0,32=>278,33=>974,34=>961,35=>974,36=>980,
|
||||
37=>719,38=>789,39=>790,40=>791,41=>690,42=>960,43=>939,44=>549,45=>855,46=>911,
|
||||
47=>933,48=>911,49=>945,50=>974,51=>755,52=>846,53=>762,54=>761,55=>571,56=>677,
|
||||
57=>763,58=>760,59=>759,60=>754,61=>494,62=>552,63=>537,64=>577,65=>692,66=>786,
|
||||
67=>788,68=>788,69=>790,70=>793,71=>794,72=>816,73=>823,74=>789,75=>841,76=>823,
|
||||
77=>833,78=>816,79=>831,80=>923,81=>744,82=>723,83=>749,84=>790,85=>792,86=>695,
|
||||
87=>776,88=>768,89=>792,90=>759,91=>707,92=>708,93=>682,94=>701,95=>826,96=>815,
|
||||
97=>789,98=>789,99=>707,100=>687,101=>696,102=>689,103=>786,104=>787,105=>713,
|
||||
106=>791,107=>785,108=>791,109=>873,110=>761,111=>762,112=>762,113=>759,114=>759,
|
||||
115=>892,116=>892,117=>788,118=>784,119=>438,120=>138,121=>277,122=>415,123=>392,
|
||||
124=>392,125=>668,126=>668,127=>0,128=>390,129=>390,130=>317,131=>317,132=>276,
|
||||
133=>276,134=>509,135=>509,136=>410,137=>410,138=>234,139=>234,140=>334,141=>334,
|
||||
142=>0,143=>0,144=>0,145=>0,146=>0,147=>0,148=>0,149=>0,150=>0,151=>0,152=>0,
|
||||
153=>0,154=>0,155=>0,156=>0,157=>0,158=>0,159=>0,160=>0,161=>732,162=>544,163=>544,
|
||||
164=>910,165=>667,166=>760,167=>760,168=>776,169=>595,170=>694,171=>626,172=>788,
|
||||
173=>788,174=>788,175=>788,176=>788,177=>788,178=>788,179=>788,180=>788,181=>788,
|
||||
182=>788,183=>788,184=>788,185=>788,186=>788,187=>788,188=>788,189=>788,190=>788,
|
||||
191=>788,192=>788,193=>788,194=>788,195=>788,196=>788,197=>788,198=>788,199=>788,
|
||||
200=>788,201=>788,202=>788,203=>788,204=>788,205=>788,206=>788,207=>788,208=>788,
|
||||
209=>788,210=>788,211=>788,212=>894,213=>838,214=>1016,215=>458,216=>748,217=>924,
|
||||
218=>748,219=>918,220=>927,221=>928,222=>928,223=>834,224=>873,225=>828,226=>924,
|
||||
227=>924,228=>917,229=>930,230=>931,231=>463,232=>883,233=>836,234=>836,235=>867,
|
||||
236=>867,237=>696,238=>696,239=>874,240=>0,241=>874,242=>760,243=>946,244=>771,
|
||||
245=>865,246=>771,247=>888,248=>967,249=>888,250=>831,251=>873,252=>927,253=>970,
|
||||
254=>918,255=>0);
|
||||
// --- EOF ---
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<?php
|
||||
/* Mohammad Ali Golkar
|
||||
m.a.golkar@gmail.com
|
||||
http://www.30minonline.com
|
||||
LICENSE : GPLv2 */
|
||||
$type='TrueTypeUnicode';
|
||||
$name='ZarBold';
|
||||
$desc=array('Ascent'=>733,'Descent'=>-317,'CapHeight'=>733,'Flags'=>32,'FontBBox'=>'[-126 -535 1164 1046]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600);
|
||||
$up=-356;
|
||||
$ut=49;
|
||||
$dw=600;
|
||||
$cw=array(
|
||||
0=>0,32=>227,33=>235,34=>282,35=>667,36=>458,37=>493,38=>635,39=>156,40=>303,41=>303,42=>489,43=>489,44=>237,45=>489,46=>231,47=>277,
|
||||
48=>552,49=>552,50=>552,51=>552,52=>552,53=>552,54=>552,55=>552,56=>552,57=>552,58=>231,59=>237,60=>667,61=>489,62=>667,63=>448,
|
||||
64=>917,65=>604,66=>542,67=>615,68=>708,69=>479,70=>427,71=>667,72=>688,73=>302,74=>292,75=>583,76=>469,77=>885,78=>677,79=>729,
|
||||
80=>479,81=>729,82=>542,83=>448,84=>521,85=>677,86=>615,87=>969,88=>604,89=>583,90=>594,91=>208,92=>510,93=>208,94=>469,95=>500,
|
||||
96=>333,97=>469,98=>510,99=>448,100=>521,101=>438,102=>313,103=>500,104=>552,105=>271,106=>260,107=>500,108=>271,109=>802,110=>552,111=>490,
|
||||
112=>531,113=>521,114=>396,115=>365,116=>292,117=>552,118=>479,119=>750,120=>521,121=>469,122=>448,123=>479,124=>510,125=>479,126=>667,8218=>240,
|
||||
402=>531,8222=>458,8230=>1000,8224=>438,8225=>438,710=>333,8240=>1010,352=>448,8249=>250,338=>865,8216=>240,8217=>240,8220=>317,8221=>317,8226=>281,8211=>500,
|
||||
8212=>1000,8482=>906,353=>365,8250=>250,339=>823,376=>583,160=>244,161=>317,162=>448,163=>583,164=>500,165=>583,166=>200,167=>417,168=>333,169=>765,
|
||||
170=>313,171=>417,172=>667,173=>564,174=>765,175=>333,176=>375,177=>462,178=>354,179=>354,180=>333,181=>510,182=>438,183=>198,184=>333,185=>354,
|
||||
186=>323,187=>417,188=>854,189=>854,190=>854,191=>448,192=>604,711=>333,215=>462,224=>469,226=>469,231=>448,232=>438,233=>438,234=>438,235=>438,
|
||||
238=>271,239=>271,244=>490,305=>271,247=>483,249=>552,251=>552,252=>552,255=>469,9249=>781,1548=>237,1563=>237,1567=>340,1569=>426,1570=>416,1571=>238,
|
||||
1572=>429,1573=>260,1574=>817,1575=>238,1576=>853,1577=>439,1578=>853,1579=>853,1580=>720,1581=>720,1582=>720,1583=>485,1584=>485,1585=>423,1586=>423,1587=>1016,
|
||||
1588=>1016,1589=>1128,1590=>1128,1591=>794,1592=>794,1593=>685,1594=>685,1600=>371,1601=>840,1602=>696,1603=>1148,1604=>744,1605=>514,1606=>686,1607=>439,1608=>429,
|
||||
1609=>817,1610=>817,1611=>0,1612=>0,1613=>0,1614=>0,1615=>0,1616=>0,1617=>0,1618=>0,1632=>479,1633=>479,1634=>479,1635=>479,1636=>479,1637=>479,
|
||||
1638=>479,1639=>479,1640=>479,1641=>483,1642=>493,1645=>563,1648=>227,1649=>363,1652=>227,1662=>853,1670=>720,1688=>423,1700=>840,1705=>1148,1711=>1149,1740=>817,
|
||||
1749=>439,1764=>227,1776=>479,1777=>479,1778=>479,1779=>479,1780=>479,1781=>479,1782=>479,1783=>479,1784=>479,1785=>483,8204=>22,8205=>22,8206=>22,8207=>22,
|
||||
59424=>227,59425=>227,59426=>227,59427=>227,59428=>227,59429=>227,59430=>227,59431=>227,59432=>227,59433=>227,59434=>227,59435=>227,59436=>227,59416=>227,59437=>227,59442=>227,
|
||||
59443=>227,59444=>227,59445=>227,59446=>227,64336=>363,64337=>263,64342=>853,64343=>967,64344=>267,64345=>271,64362=>840,64363=>959,64364=>305,64365=>341,64378=>720,64379=>725,
|
||||
64380=>630,64381=>652,64394=>423,64395=>450,64398=>1148,64399=>1089,64400=>522,64401=>461,64402=>1149,64403=>1084,64404=>525,64405=>462,64508=>817,64509=>784,64606=>227,64607=>227,
|
||||
64608=>227,64609=>227,64610=>227,64754=>371,64755=>371,64756=>371,64828=>331,64829=>276,64830=>303,64831=>303,65010=>866,65136=>227,65137=>371,65138=>227,65140=>227,65142=>227,
|
||||
65143=>371,65144=>227,65145=>371,65146=>227,65147=>371,65148=>227,65149=>371,65150=>227,65151=>371,65152=>426,65153=>416,65154=>354,65155=>238,65156=>282,65157=>429,65158=>507,
|
||||
65159=>260,65160=>286,65161=>817,65162=>784,65163=>190,65164=>276,65165=>238,65166=>263,65167=>853,65168=>967,65169=>186,65170=>271,65171=>439,65172=>452,65173=>853,65174=>967,
|
||||
65175=>256,65176=>271,65177=>853,65178=>967,65179=>267,65180=>271,65181=>720,65182=>725,65183=>630,65184=>652,65185=>720,65186=>725,65187=>630,65188=>652,65189=>720,65190=>725,
|
||||
65191=>630,65192=>652,65193=>485,65194=>608,65195=>485,65196=>608,65197=>423,65198=>450,65199=>423,65200=>450,65201=>1016,65202=>1041,65203=>498,65204=>475,65205=>1016,65206=>1041,
|
||||
65207=>498,65208=>475,65209=>1128,65210=>1150,65211=>633,65212=>655,65213=>1128,65214=>1150,65215=>633,65216=>655,65217=>794,65218=>814,65219=>566,65220=>588,65221=>794,65222=>814,
|
||||
65223=>566,65224=>588,65225=>685,65226=>655,65227=>414,65228=>330,65229=>685,65230=>655,65231=>414,65232=>330,65233=>840,65234=>959,65235=>305,65236=>341,65237=>696,65238=>780,
|
||||
65239=>305,65240=>341,65241=>1148,65242=>1089,65243=>522,65244=>461,65245=>744,65246=>741,65247=>202,65248=>259,65249=>514,65250=>585,65251=>345,65252=>477,65253=>686,65254=>764,
|
||||
65255=>186,65256=>271,65257=>439,65258=>452,65259=>501,65260=>381,65261=>429,65262=>507,65263=>817,65264=>784,65265=>817,65266=>784,64510=>265,64511=>271,65269=>610,65270=>652,
|
||||
65271=>539,65272=>611,65273=>539,65274=>611,65275=>539,65276=>611,65279=>0,64486=>408,64487=>408);
|
||||
$enc='';
|
||||
$diff='';
|
||||
$file='zarbold.z';
|
||||
$ctg='zarbold.ctg.z';
|
||||
$originalsize=73296;
|
||||
// --- EOF ---
|
||||
<?php
|
||||
/* Mohammad Ali Golkar
|
||||
m.a.golkar@gmail.com
|
||||
http://www.30minonline.com
|
||||
LICENSE : GPLv2 */
|
||||
$type='TrueTypeUnicode';
|
||||
$name='ZarBold';
|
||||
$desc=array('Ascent'=>733,'Descent'=>-317,'CapHeight'=>733,'Flags'=>32,'FontBBox'=>'[-126 -535 1164 1046]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600);
|
||||
$up=-356;
|
||||
$ut=49;
|
||||
$dw=600;
|
||||
$cw=array(
|
||||
0=>0,32=>227,33=>235,34=>282,35=>667,36=>458,37=>493,38=>635,39=>156,40=>303,41=>303,42=>489,43=>489,44=>237,45=>489,46=>231,47=>277,
|
||||
48=>552,49=>552,50=>552,51=>552,52=>552,53=>552,54=>552,55=>552,56=>552,57=>552,58=>231,59=>237,60=>667,61=>489,62=>667,63=>448,
|
||||
64=>917,65=>604,66=>542,67=>615,68=>708,69=>479,70=>427,71=>667,72=>688,73=>302,74=>292,75=>583,76=>469,77=>885,78=>677,79=>729,
|
||||
80=>479,81=>729,82=>542,83=>448,84=>521,85=>677,86=>615,87=>969,88=>604,89=>583,90=>594,91=>208,92=>510,93=>208,94=>469,95=>500,
|
||||
96=>333,97=>469,98=>510,99=>448,100=>521,101=>438,102=>313,103=>500,104=>552,105=>271,106=>260,107=>500,108=>271,109=>802,110=>552,111=>490,
|
||||
112=>531,113=>521,114=>396,115=>365,116=>292,117=>552,118=>479,119=>750,120=>521,121=>469,122=>448,123=>479,124=>510,125=>479,126=>667,8218=>240,
|
||||
402=>531,8222=>458,8230=>1000,8224=>438,8225=>438,710=>333,8240=>1010,352=>448,8249=>250,338=>865,8216=>240,8217=>240,8220=>317,8221=>317,8226=>281,8211=>500,
|
||||
8212=>1000,8482=>906,353=>365,8250=>250,339=>823,376=>583,160=>244,161=>317,162=>448,163=>583,164=>500,165=>583,166=>200,167=>417,168=>333,169=>765,
|
||||
170=>313,171=>417,172=>667,173=>564,174=>765,175=>333,176=>375,177=>462,178=>354,179=>354,180=>333,181=>510,182=>438,183=>198,184=>333,185=>354,
|
||||
186=>323,187=>417,188=>854,189=>854,190=>854,191=>448,192=>604,711=>333,215=>462,224=>469,226=>469,231=>448,232=>438,233=>438,234=>438,235=>438,
|
||||
238=>271,239=>271,244=>490,305=>271,247=>483,249=>552,251=>552,252=>552,255=>469,9249=>781,1548=>237,1563=>237,1567=>340,1569=>426,1570=>416,1571=>238,
|
||||
1572=>429,1573=>260,1574=>817,1575=>238,1576=>853,1577=>439,1578=>853,1579=>853,1580=>720,1581=>720,1582=>720,1583=>485,1584=>485,1585=>423,1586=>423,1587=>1016,
|
||||
1588=>1016,1589=>1128,1590=>1128,1591=>794,1592=>794,1593=>685,1594=>685,1600=>371,1601=>840,1602=>696,1603=>1148,1604=>744,1605=>514,1606=>686,1607=>439,1608=>429,
|
||||
1609=>817,1610=>817,1611=>0,1612=>0,1613=>0,1614=>0,1615=>0,1616=>0,1617=>0,1618=>0,1632=>479,1633=>479,1634=>479,1635=>479,1636=>479,1637=>479,
|
||||
1638=>479,1639=>479,1640=>479,1641=>483,1642=>493,1645=>563,1648=>227,1649=>363,1652=>227,1662=>853,1670=>720,1688=>423,1700=>840,1705=>1148,1711=>1149,1740=>817,
|
||||
1749=>439,1764=>227,1776=>479,1777=>479,1778=>479,1779=>479,1780=>479,1781=>479,1782=>479,1783=>479,1784=>479,1785=>483,8204=>22,8205=>22,8206=>22,8207=>22,
|
||||
59424=>227,59425=>227,59426=>227,59427=>227,59428=>227,59429=>227,59430=>227,59431=>227,59432=>227,59433=>227,59434=>227,59435=>227,59436=>227,59416=>227,59437=>227,59442=>227,
|
||||
59443=>227,59444=>227,59445=>227,59446=>227,64336=>363,64337=>263,64342=>853,64343=>967,64344=>267,64345=>271,64362=>840,64363=>959,64364=>305,64365=>341,64378=>720,64379=>725,
|
||||
64380=>630,64381=>652,64394=>423,64395=>450,64398=>1148,64399=>1089,64400=>522,64401=>461,64402=>1149,64403=>1084,64404=>525,64405=>462,64508=>817,64509=>784,64606=>227,64607=>227,
|
||||
64608=>227,64609=>227,64610=>227,64754=>371,64755=>371,64756=>371,64828=>331,64829=>276,64830=>303,64831=>303,65010=>866,65136=>227,65137=>371,65138=>227,65140=>227,65142=>227,
|
||||
65143=>371,65144=>227,65145=>371,65146=>227,65147=>371,65148=>227,65149=>371,65150=>227,65151=>371,65152=>426,65153=>416,65154=>354,65155=>238,65156=>282,65157=>429,65158=>507,
|
||||
65159=>260,65160=>286,65161=>817,65162=>784,65163=>190,65164=>276,65165=>238,65166=>263,65167=>853,65168=>967,65169=>186,65170=>271,65171=>439,65172=>452,65173=>853,65174=>967,
|
||||
65175=>256,65176=>271,65177=>853,65178=>967,65179=>267,65180=>271,65181=>720,65182=>725,65183=>630,65184=>652,65185=>720,65186=>725,65187=>630,65188=>652,65189=>720,65190=>725,
|
||||
65191=>630,65192=>652,65193=>485,65194=>608,65195=>485,65196=>608,65197=>423,65198=>450,65199=>423,65200=>450,65201=>1016,65202=>1041,65203=>498,65204=>475,65205=>1016,65206=>1041,
|
||||
65207=>498,65208=>475,65209=>1128,65210=>1150,65211=>633,65212=>655,65213=>1128,65214=>1150,65215=>633,65216=>655,65217=>794,65218=>814,65219=>566,65220=>588,65221=>794,65222=>814,
|
||||
65223=>566,65224=>588,65225=>685,65226=>655,65227=>414,65228=>330,65229=>685,65230=>655,65231=>414,65232=>330,65233=>840,65234=>959,65235=>305,65236=>341,65237=>696,65238=>780,
|
||||
65239=>305,65240=>341,65241=>1148,65242=>1089,65243=>522,65244=>461,65245=>744,65246=>741,65247=>202,65248=>259,65249=>514,65250=>585,65251=>345,65252=>477,65253=>686,65254=>764,
|
||||
65255=>186,65256=>271,65257=>439,65258=>452,65259=>501,65260=>381,65261=>429,65262=>507,65263=>817,65264=>784,65265=>817,65266=>784,64510=>265,64511=>271,65269=>610,65270=>652,
|
||||
65271=>539,65272=>611,65273=>539,65274=>611,65275=>539,65276=>611,65279=>0,64486=>408,64487=>408);
|
||||
$enc='';
|
||||
$diff='';
|
||||
$file='zarbold.z';
|
||||
$ctg='zarbold.ctg.z';
|
||||
$originalsize=73296;
|
||||
// --- EOF ---
|
||||
|
||||
@@ -1,337 +1,337 @@
|
||||
<?php
|
||||
|
||||
require_once('tcpdf.php');
|
||||
|
||||
class MyPDF extends TCPDF
|
||||
{
|
||||
function MyPDF($orientation='P', $unit='mm', $format='A4')
|
||||
{
|
||||
parent::__construct($orientation,$unit,$format);
|
||||
$this->SetAutoPageBreak(true,10);
|
||||
$this->AliasNbPages();
|
||||
}
|
||||
/**
|
||||
*
|
||||
* obsolete
|
||||
* @param $text
|
||||
* @param $format
|
||||
* @return unknown_type
|
||||
*/
|
||||
function intopdf($text,$format='')
|
||||
{
|
||||
$text = $this->delete_html($text);
|
||||
$oldformat = $this->FontStyle;
|
||||
$this->SetFont('',$format,$this->FontSizePt);
|
||||
$this->Write(5,$text);
|
||||
$this->ln(5);
|
||||
$this->SetFont('',$oldformat,$this->FontSizePt);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* obsolete
|
||||
* @param $text
|
||||
* @return unknown_type
|
||||
*/
|
||||
function helptextintopdf($text)
|
||||
{
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize-2);
|
||||
$this->Write(5,$this->delete_html($text));
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* writes a big title in the page + description
|
||||
* @param $title
|
||||
* @param $description
|
||||
* @return unknown_type
|
||||
*/
|
||||
function titleintopdf($title,$description='')
|
||||
{
|
||||
if(!empty($title))
|
||||
{
|
||||
$title = $this->delete_html($title);
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize+4);
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(3);
|
||||
$this->MultiCell('','',$title,'','C',0);
|
||||
if(!empty($description) && isset($description))
|
||||
{
|
||||
$description = $this->delete_html($description);
|
||||
$this->ln(7);
|
||||
$this->SetFontSize($oldsize+2);
|
||||
$this->MultiCell('','',$description,'','C',0);
|
||||
$this->ln(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ln(4);
|
||||
}
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Creates a Table with equal cell width and Bold text. Used as Head for equalTable()
|
||||
* @param $array(0=>)
|
||||
* @return unknown_type
|
||||
*/
|
||||
function tablehead($array)
|
||||
{
|
||||
//$maxwidth = array();
|
||||
$maxwidth = $this->getEqualWidth($array);
|
||||
$oldStyle = $this->FontStyle;
|
||||
$this->SetFont($this->FontFamily, 'B', $this->FontSizePt);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$this->Cell($maxwidth,4,$this->delete_html($array[$a][$b]),0,0,'L');
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
$this->SetFont($this->FontFamily, $oldStyle, $this->FontSizePt);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Creates a Table with equal cell width.
|
||||
* @param $array - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is on turn off with 0
|
||||
* @return unknown_type
|
||||
*/
|
||||
function equalTable($array, $modulo=1)
|
||||
{
|
||||
//$maxwidth = array();
|
||||
$maxwidth = $this->getEqualWidth($array);
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=0;}
|
||||
else{$fill=1;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
|
||||
$this->Cell($maxwidth,4,$this->delete_html($array[$a][$b]),0,0,'L',$fill);
|
||||
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* creates a table using the full width of page
|
||||
* @param $array - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is off, turn on with 1
|
||||
* @return unknown_type
|
||||
*/
|
||||
function tableintopdf($array, $modulo=1 )
|
||||
{
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getFullWidth($array);
|
||||
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=0;}
|
||||
else{$fill=1;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
//echo $maxwidth[$b]." max $b.Spalte<br/>";
|
||||
$this->Cell($maxwidth[$b],4,$this->delete_html($array[$a][$b]),0,0,'L',$fill);
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* creates a table with a bold head using the full width of page
|
||||
* @param $head - head array( 0=> array("th", "th", "th"))
|
||||
* @param $table - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is on, turn off with 0
|
||||
* @return unknown_type
|
||||
*/
|
||||
function headTable($head, $table, $modulo=1 )
|
||||
{
|
||||
$array = array_merge_recursive($head, $table);
|
||||
//print_r($array);
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getFullWidth($array);
|
||||
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=1;}
|
||||
else{$fill=0;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$bEndOfCell=0;
|
||||
if ($b==sizeof($array[$a])-1)
|
||||
{
|
||||
$bEndOfCell=1;
|
||||
}
|
||||
|
||||
if($a==0)
|
||||
{
|
||||
$oldStyle = $this->FontStyle;
|
||||
$this->SetFont($this->FontFamily, 'B', $this->FontSizePt);
|
||||
|
||||
if ($maxwidth[$b] > 140) $maxwidth[$b]=130;
|
||||
if ($maxwidth[$b] < 20) $maxwidth[$b]=20;
|
||||
$this->MultiCell($maxwidth[$b],6,$this->delete_html($array[$a][$b]),0,'L',1,$bEndOfCell);
|
||||
|
||||
$this->SetFont($this->FontFamily, $oldStyle, $this->FontSizePt);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($a==1)
|
||||
{
|
||||
$this->SetFillColor(250, 250, 250);
|
||||
}
|
||||
//echo $maxwidth[$b]." max $b.Spalte<br/>";
|
||||
|
||||
if ($maxwidth[$b] > 140) $maxwidth[$b]=130;
|
||||
if ($b==0)
|
||||
{
|
||||
$iLines=$this->MultiCell($maxwidth[$b],6,$this->delete_html($array[$a][$b]),0,'L',$fill,$bEndOfCell);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->MultiCell($maxwidth[$b],$iLines,$this->delete_html($array[$a][$b]),0,'L',$fill,$bEndOfCell);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
function getminwidth($array)
|
||||
{
|
||||
$width = array();
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
$stringWidth=0;
|
||||
$chars = str_split($this->delete_html($array[$i][$j]),1);
|
||||
foreach($chars as $char)
|
||||
{
|
||||
$stringWidth = $stringWidth+$this->GetCharWidth($char);
|
||||
|
||||
//echo $stringWidth.": ".$char."<br/>";
|
||||
}
|
||||
if($stringWidth!=0 && $stringWidth<8)
|
||||
$stringWidth = $stringWidth*3;
|
||||
if(!isset($width[$j])|| $stringWidth>$width[$j])
|
||||
{
|
||||
$width[$j] = $stringWidth;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $width;
|
||||
}
|
||||
function getmaxwidth($array)
|
||||
{
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(($i-1)>=0)
|
||||
{
|
||||
if(strlen($this->delete_html($array[($i-1)][$j])) < strlen($this->delete_html($array[$i][$j])))
|
||||
{
|
||||
$width[$j] = strlen($this->delete_html($array[$i][$j]));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$width[$j]=strlen($this->delete_html($array[$i][$j]));
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($width);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Gets the width for columns in a table based on their Stringlength and the width of the page...
|
||||
* @param $array
|
||||
* @return array with column width
|
||||
*/
|
||||
function getFullWidth($array)
|
||||
{
|
||||
$maxlength = array();
|
||||
$width = array();
|
||||
$width = $this->getminwidth($array);
|
||||
|
||||
$margins = $this->getMargins();
|
||||
$deadSpace = $margins['left']+$margins['right'];
|
||||
$fullWidth = ($this->GetLineWidth()*1000)-$deadSpace;
|
||||
$faktor = $fullWidth/array_sum($width);
|
||||
|
||||
for($i=0;$i<sizeof($width);$i++)
|
||||
{
|
||||
$maxlength[$i]=$faktor*$width[$i];
|
||||
}
|
||||
return $maxlength;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* gets the width for each column in tables, based on pagewidth and count of columns.
|
||||
* Good for static tables with equal value String-length
|
||||
* @param $array
|
||||
* @return unknown_type
|
||||
*/
|
||||
function getEqualWidth($array)
|
||||
{
|
||||
$margins = $this->getMargins();
|
||||
$deadSpace = $margins['left']+$margins['right'];
|
||||
|
||||
$width = ($this->GetLineWidth()*1000)-$deadSpace;
|
||||
$count = 0;
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(sizeof($array[$i])>$count)
|
||||
{
|
||||
$count = sizeof($array[$i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($count!=0)
|
||||
return ($width/$count);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
function write_out($name)
|
||||
{
|
||||
$this->Output($name,"D");
|
||||
}
|
||||
|
||||
function delete_html($text)
|
||||
{
|
||||
$text = html_entity_decode($text);
|
||||
return strip_tags($text);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
|
||||
require_once('tcpdf.php');
|
||||
|
||||
class MyPDF extends TCPDF
|
||||
{
|
||||
function MyPDF($orientation='P', $unit='mm', $format='A4')
|
||||
{
|
||||
parent::__construct($orientation,$unit,$format);
|
||||
$this->SetAutoPageBreak(true,10);
|
||||
$this->AliasNbPages();
|
||||
}
|
||||
/**
|
||||
*
|
||||
* obsolete
|
||||
* @param $text
|
||||
* @param $format
|
||||
* @return unknown_type
|
||||
*/
|
||||
function intopdf($text,$format='')
|
||||
{
|
||||
$text = $this->delete_html($text);
|
||||
$oldformat = $this->FontStyle;
|
||||
$this->SetFont('',$format,$this->FontSizePt);
|
||||
$this->Write(5,$text);
|
||||
$this->ln(5);
|
||||
$this->SetFont('',$oldformat,$this->FontSizePt);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* obsolete
|
||||
* @param $text
|
||||
* @return unknown_type
|
||||
*/
|
||||
function helptextintopdf($text)
|
||||
{
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize-2);
|
||||
$this->Write(5,$this->delete_html($text));
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* writes a big title in the page + description
|
||||
* @param $title
|
||||
* @param $description
|
||||
* @return unknown_type
|
||||
*/
|
||||
function titleintopdf($title,$description='')
|
||||
{
|
||||
if(!empty($title))
|
||||
{
|
||||
$title = $this->delete_html($title);
|
||||
$oldsize = $this->FontSizePt;
|
||||
$this->SetFontSize($oldsize+4);
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(3);
|
||||
$this->MultiCell('','',$title,'','C',0);
|
||||
if(!empty($description) && isset($description))
|
||||
{
|
||||
$description = $this->delete_html($description);
|
||||
$this->ln(7);
|
||||
$this->SetFontSize($oldsize+2);
|
||||
$this->MultiCell('','',$description,'','C',0);
|
||||
$this->ln(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ln(4);
|
||||
}
|
||||
$this->Line(5,$this->y,($this->w-5),$this->y);
|
||||
$this->ln(5);
|
||||
$this->SetFontSize($oldsize);
|
||||
}
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Creates a Table with equal cell width and Bold text. Used as Head for equalTable()
|
||||
* @param $array(0=>)
|
||||
* @return unknown_type
|
||||
*/
|
||||
function tablehead($array)
|
||||
{
|
||||
//$maxwidth = array();
|
||||
$maxwidth = $this->getEqualWidth($array);
|
||||
$oldStyle = $this->FontStyle;
|
||||
$this->SetFont($this->FontFamily, 'B', $this->FontSizePt);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$this->Cell($maxwidth,4,$this->delete_html($array[$a][$b]),0,0,'L');
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
$this->SetFont($this->FontFamily, $oldStyle, $this->FontSizePt);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Creates a Table with equal cell width.
|
||||
* @param $array - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is on turn off with 0
|
||||
* @return unknown_type
|
||||
*/
|
||||
function equalTable($array, $modulo=1)
|
||||
{
|
||||
//$maxwidth = array();
|
||||
$maxwidth = $this->getEqualWidth($array);
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=0;}
|
||||
else{$fill=1;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
|
||||
$this->Cell($maxwidth,4,$this->delete_html($array[$a][$b]),0,0,'L',$fill);
|
||||
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* creates a table using the full width of page
|
||||
* @param $array - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is off, turn on with 1
|
||||
* @return unknown_type
|
||||
*/
|
||||
function tableintopdf($array, $modulo=1 )
|
||||
{
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getFullWidth($array);
|
||||
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=0;}
|
||||
else{$fill=1;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
//echo $maxwidth[$b]." max $b.Spalte<br/>";
|
||||
$this->Cell($maxwidth[$b],4,$this->delete_html($array[$a][$b]),0,0,'L',$fill);
|
||||
}
|
||||
$this->ln();
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* creates a table with a bold head using the full width of page
|
||||
* @param $head - head array( 0=> array("th", "th", "th"))
|
||||
* @param $table - table array( 0=> array("td", "td", "td"),
|
||||
* 1=> array("td", "td", "td"))
|
||||
* @param $modulo - fills each second row with a light-grey for better visibility. Default is on, turn off with 0
|
||||
* @return unknown_type
|
||||
*/
|
||||
function headTable($head, $table, $modulo=1 )
|
||||
{
|
||||
$array = array_merge_recursive($head, $table);
|
||||
//print_r($array);
|
||||
$maxwidth = array();
|
||||
$maxwidth = $this->getFullWidth($array);
|
||||
|
||||
$this->SetFillColor(220, 220, 220);
|
||||
for($a=0;$a<sizeof($array);$a++)
|
||||
{
|
||||
if($modulo){
|
||||
if($a%2 === 0){$fill=1;}
|
||||
else{$fill=0;}
|
||||
}
|
||||
else{$fill=0;}
|
||||
for($b=0;$b<sizeof($array[$a]);$b++)
|
||||
{
|
||||
$bEndOfCell=0;
|
||||
if ($b==sizeof($array[$a])-1)
|
||||
{
|
||||
$bEndOfCell=1;
|
||||
}
|
||||
|
||||
if($a==0)
|
||||
{
|
||||
$oldStyle = $this->FontStyle;
|
||||
$this->SetFont($this->FontFamily, 'B', $this->FontSizePt);
|
||||
|
||||
if ($maxwidth[$b] > 140) $maxwidth[$b]=130;
|
||||
if ($maxwidth[$b] < 20) $maxwidth[$b]=20;
|
||||
$this->MultiCell($maxwidth[$b],6,$this->delete_html($array[$a][$b]),0,'L',1,$bEndOfCell);
|
||||
|
||||
$this->SetFont($this->FontFamily, $oldStyle, $this->FontSizePt);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($a==1)
|
||||
{
|
||||
$this->SetFillColor(250, 250, 250);
|
||||
}
|
||||
//echo $maxwidth[$b]." max $b.Spalte<br/>";
|
||||
|
||||
if ($maxwidth[$b] > 140) $maxwidth[$b]=130;
|
||||
if ($b==0)
|
||||
{
|
||||
$iLines=$this->MultiCell($maxwidth[$b],6,$this->delete_html($array[$a][$b]),0,'L',$fill,$bEndOfCell);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->MultiCell($maxwidth[$b],$iLines,$this->delete_html($array[$a][$b]),0,'L',$fill,$bEndOfCell);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->ln(5);
|
||||
}
|
||||
function getminwidth($array)
|
||||
{
|
||||
$width = array();
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
$stringWidth=0;
|
||||
$chars = str_split($this->delete_html($array[$i][$j]),1);
|
||||
foreach($chars as $char)
|
||||
{
|
||||
$stringWidth = $stringWidth+$this->GetCharWidth($char);
|
||||
|
||||
//echo $stringWidth.": ".$char."<br/>";
|
||||
}
|
||||
if($stringWidth!=0 && $stringWidth<8)
|
||||
$stringWidth = $stringWidth*3;
|
||||
if(!isset($width[$j])|| $stringWidth>$width[$j])
|
||||
{
|
||||
$width[$j] = $stringWidth;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $width;
|
||||
}
|
||||
function getmaxwidth($array)
|
||||
{
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(($i-1)>=0)
|
||||
{
|
||||
if(strlen($this->delete_html($array[($i-1)][$j])) < strlen($this->delete_html($array[$i][$j])))
|
||||
{
|
||||
$width[$j] = strlen($this->delete_html($array[$i][$j]));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$width[$j]=strlen($this->delete_html($array[$i][$j]));
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($width);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* Gets the width for columns in a table based on their Stringlength and the width of the page...
|
||||
* @param $array
|
||||
* @return array with column width
|
||||
*/
|
||||
function getFullWidth($array)
|
||||
{
|
||||
$maxlength = array();
|
||||
$width = array();
|
||||
$width = $this->getminwidth($array);
|
||||
|
||||
$margins = $this->getMargins();
|
||||
$deadSpace = $margins['left']+$margins['right'];
|
||||
$fullWidth = ($this->GetLineWidth()*1000)-$deadSpace;
|
||||
$faktor = $fullWidth/array_sum($width);
|
||||
|
||||
for($i=0;$i<sizeof($width);$i++)
|
||||
{
|
||||
$maxlength[$i]=$faktor*$width[$i];
|
||||
}
|
||||
return $maxlength;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* gets the width for each column in tables, based on pagewidth and count of columns.
|
||||
* Good for static tables with equal value String-length
|
||||
* @param $array
|
||||
* @return unknown_type
|
||||
*/
|
||||
function getEqualWidth($array)
|
||||
{
|
||||
$margins = $this->getMargins();
|
||||
$deadSpace = $margins['left']+$margins['right'];
|
||||
|
||||
$width = ($this->GetLineWidth()*1000)-$deadSpace;
|
||||
$count = 0;
|
||||
for($i=0;$i<sizeof($array);$i++)
|
||||
{
|
||||
for($j=0;$j<sizeof($array[$i]);$j++)
|
||||
{
|
||||
if(sizeof($array[$i])>$count)
|
||||
{
|
||||
$count = sizeof($array[$i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($count!=0)
|
||||
return ($width/$count);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
function write_out($name)
|
||||
{
|
||||
$this->Output($name,"D");
|
||||
}
|
||||
|
||||
function delete_html($text)
|
||||
{
|
||||
$text = html_entity_decode($text);
|
||||
return strip_tags($text);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -6234,10 +6234,10 @@ class TCPDF {
|
||||
$this->y = $y;
|
||||
$this->SetX($x + $w + $mc_margin['L'] + $mc_margin['R']);
|
||||
}
|
||||
$this->setContentMark();
|
||||
$this->cell_padding = $prev_cell_padding;
|
||||
$this->cell_margin = $prev_cell_margin;
|
||||
return $currentY-$this->y;
|
||||
$this->setContentMark();
|
||||
$this->cell_padding = $prev_cell_padding;
|
||||
$this->cell_margin = $prev_cell_margin;
|
||||
return $currentY-$this->y;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user