@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * define table columns |
| 23 | 23 | * @param string $orientation |
| 24 | 24 | */ |
| 25 | - public function __construct(string $orientation='P') |
|
| 25 | + public function __construct(string $orientation = 'P') |
|
| 26 | 26 | {
|
| 27 | 27 | // first call parent constructor for general initialization |
| 28 | 28 | parent::__construct($orientation); |
@@ -46,14 +46,14 @@ discard block |
||
| 46 | 46 | $this->SetPageFooter("Page: {PN}/{NP}\tAuthor: S.Kien\t{D} {T}");
|
| 47 | 47 | |
| 48 | 48 | // now we define the columns of our report |
| 49 | - $this->AddCol('Row', 10, 'R', XPDF::COL_ROW_NR, XPDF::FLAG_TOTALS_TEXT);
|
|
| 50 | - $this->AddCol('Date', 35, 'C', 'date', XPDF::FLAG_DATE);
|
|
| 51 | - $this->AddCol('Text', -1, 'L', 'text');
|
|
| 52 | - $this->AddCol('Grp.', 12, 'C', self::MY_GRP_COL);
|
|
| 53 | - $this->AddCol('Weight', 20, 'R', 'weight', XPDF::FLAG_TOTALS_CALC | XPDF::FLAG_NUMBER);
|
|
| 54 | - $iImgCol = $this->AddCol(-1, 8, 'C', self::MY_IMAGE_COL, XPDF::FLAG_IMAGE | XPDF::FLAG_TOTALS_EMPTY); |
|
| 55 | - $this->AddCol('Price', 25, 'R', 'price', XPDF::FLAG_TOTALS_CALC | XPDF::FLAG_CUR_SYMBOL);
|
|
| 56 | - $this->AddCol('Cost per kg', 25, 'R', self::MY_CALC_COL, XPDF::FLAG_TOTALS_EMPTY);
|
|
| 49 | + $this->AddCol('Row', 10, 'R', XPDF::COL_ROW_NR, XPDF::FLAG_TOTALS_TEXT);
|
|
| 50 | + $this->AddCol('Date', 35, 'C', 'date', XPDF::FLAG_DATE);
|
|
| 51 | + $this->AddCol('Text', -1, 'L', 'text');
|
|
| 52 | + $this->AddCol('Grp.', 12, 'C', self::MY_GRP_COL);
|
|
| 53 | + $this->AddCol('Weight', 20, 'R', 'weight', XPDF::FLAG_TOTALS_CALC | XPDF::FLAG_NUMBER);
|
|
| 54 | + $iImgCol = $this->AddCol(-1, 8, 'C', self::MY_IMAGE_COL, XPDF::FLAG_IMAGE | XPDF::FLAG_TOTALS_EMPTY); |
|
| 55 | + $this->AddCol('Price', 25, 'R', 'price', XPDF::FLAG_TOTALS_CALC | XPDF::FLAG_CUR_SYMBOL);
|
|
| 56 | + $this->AddCol('Cost per kg', 25, 'R', self::MY_CALC_COL, XPDF::FLAG_TOTALS_EMPTY);
|
|
| 57 | 57 | |
| 58 | 58 | // enable the totals/pagetotals and carry-over functionality |
| 59 | 59 | $this->EnableTotals(XPDF::TOTALS | XPDF::PAGE_TOTALS | XPDF::CARRY_OVER); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | $this->SetNumberFormat(1, '', ' kg'); |
| 68 | 68 | |
| 69 | 69 | // and set meassuring for the image col |
| 70 | - $this->SetColImageInfo($iImgCol, 1.5, 2.5, 3 ); |
|
| 70 | + $this->SetColImageInfo($iImgCol, 1.5, 2.5, 3); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $strCol = ''; |
| 89 | 89 | switch ($iCol) {
|
| 90 | 90 | case self::MY_GRP_COL: |
| 91 | - $aValues = array( '', 'Grp. A', 'Grp. B', 'Grp. C', 'Grp. D'); |
|
| 91 | + $aValues = array('', 'Grp. A', 'Grp. B', 'Grp. C', 'Grp. D');
|
|
| 92 | 92 | if ($row['grp_id'] > 0 && $row['grp_id'] <= 4) {
|
| 93 | 93 | $strCol = $aValues[$row['grp_id']]; |
| 94 | 94 | } |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | case self::MY_CALC_COL: |
| 110 | 110 | $fltPricePerKg = 0.0; |
| 111 | 111 | if (floatval($row['weight']) != 0) {
|
| 112 | - $fltPricePerKg = floatval($row['price']) / floatval($row['weight']);; |
|
| 112 | + $fltPricePerKg = floatval($row['price']) / floatval($row['weight']); ; |
|
| 113 | 113 | } |
| 114 | 114 | $strCol = $this->_FormatCurrency($fltPricePerKg, true); |
| 115 | 115 | break; |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | // for grouping |
| 140 | 140 | $date = strtotime($row['date']); |
| 141 | 141 | $strMonth = date('Y-m', $date);
|
| 142 | - if ( $this->strMonth != $strMonth) {
|
|
| 142 | + if ($this->strMonth != $strMonth) {
|
|
| 143 | 143 | // first row we have no subtotals... |
| 144 | 144 | if ($this->strMonth != '') {
|
| 145 | 145 | $this->EndGroup(); |
@@ -6,13 +6,13 @@ |
||
| 6 | 6 | |
| 7 | 7 | // set some file information |
| 8 | 8 | $pdf->SetInfo('XFPDF', 'Example', 'PHP classes', 'Keyword1, Keyword2, ...');
|
| 9 | -$pdf->SetPageHeader( 'Create PDF Table', 'using extpdf package from PHPClasses.org'); |
|
| 9 | +$pdf->SetPageHeader('Create PDF Table', 'using extpdf package from PHPClasses.org');
|
|
| 10 | 10 | |
| 11 | 11 | // prepare grid and just insert a bulk of lines |
| 12 | 12 | $pdf->Prepare(); |
| 13 | 13 | |
| 14 | 14 | $date = time(); |
| 15 | -for ($iRow=1; $iRow <= 100; $iRow++) {
|
|
| 15 | +for ($iRow = 1; $iRow <= 100; $iRow++) {
|
|
| 16 | 16 | // just a simple demo - most cases data comes from DB-query ;-) |
| 17 | 17 | $row = array( |
| 18 | 18 | 'text' => 'Text in var Col, Line ' . $iRow, |
@@ -30,10 +30,10 @@ discard block |
||
| 30 | 30 | class XPDF extends FPDF |
| 31 | 31 | {
|
| 32 | 32 | /** predifined Col-ID for automated row number */ |
| 33 | - const COL_ROW_NR = 1000; |
|
| 33 | + const COL_ROW_NR = 1000; |
|
| 34 | 34 | |
| 35 | 35 | /** Bottom margin for trigger of the auto pagebreak */ |
| 36 | - const BOTTOM_MARGIN = 12; |
|
| 36 | + const BOTTOM_MARGIN = 12; |
|
| 37 | 37 | |
| 38 | 38 | /** totals info */ |
| 39 | 39 | const FLAG_TOTALS = 0x0007; |
@@ -161,11 +161,11 @@ discard block |
||
| 161 | 161 | /** @var int index of last totals col */ |
| 162 | 162 | protected int $iMaxColTotals = -1; |
| 163 | 163 | /** @var array calculated totals */ |
| 164 | - protected array $aTotals = Array(); |
|
| 164 | + protected array $aTotals = Array(); |
|
| 165 | 165 | /** @var array calculated subtotals */ |
| 166 | - protected array $aSubTotals = Array(); |
|
| 166 | + protected array $aSubTotals = Array(); |
|
| 167 | 167 | /** @var array colspan of the totals */ |
| 168 | - protected array $aTotalsColSpan = Array(); |
|
| 168 | + protected array $aTotalsColSpan = Array(); |
|
| 169 | 169 | /** @var int current rownumber */ |
| 170 | 170 | protected int $iRow; |
| 171 | 171 | /** @var float lineheight in mm */ |
@@ -203,11 +203,11 @@ discard block |
||
| 203 | 203 | * @param string|array $size |
| 204 | 204 | * @see FPDF::__construct() |
| 205 | 205 | */ |
| 206 | - public function __construct(string $orientation='P', string $unit='mm', $size='A4') |
|
| 206 | + public function __construct(string $orientation = 'P', string $unit = 'mm', $size = 'A4') |
|
| 207 | 207 | {
|
| 208 | 208 | parent::__construct($orientation, $unit, $size); |
| 209 | 209 | |
| 210 | - $this->SetDisplayMode('fullpage','single');
|
|
| 210 | + $this->SetDisplayMode('fullpage', 'single');
|
|
| 211 | 211 | $this->SetAutoPageBreak(true, self::BOTTOM_MARGIN); |
| 212 | 212 | $this->AliasNbPages('{NP}');
|
| 213 | 213 | $this->SetLocale("en_US.utf8, en_US");
|
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * @param string $strKeywords |
| 233 | 233 | * @param bool $isUTF8 Indicates if the strings encoded in ISO-8859-1 (false) or UTF-8 (true). (Default: false) |
| 234 | 234 | */ |
| 235 | - public function SetInfo(string $strTitle, string $strSubject, string $strAuthor, string $strKeywords='', bool $isUTF8=false) : void |
|
| 235 | + public function SetInfo(string $strTitle, string $strSubject, string $strAuthor, string $strKeywords = '', bool $isUTF8 = false) : void |
|
| 236 | 236 | {
|
| 237 | 237 | $this->SetTitle($strTitle, $isUTF8); |
| 238 | 238 | $this->SetSubject($strSubject, $isUTF8); |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | * @see XPDF:SetSubject() |
| 299 | 299 | * @see XPDF:SetLogo() |
| 300 | 300 | */ |
| 301 | - public function SetPageHeader(string $strTitle, string $strHeaderSubject='', string $strLogo='') : void |
|
| 301 | + public function SetPageHeader(string $strTitle, string $strHeaderSubject = '', string $strLogo = '') : void |
|
| 302 | 302 | {
|
| 303 | 303 | $this->strPageTitle = $strTitle; |
| 304 | 304 | if (strlen($strLogo) > 0) {
|
@@ -371,11 +371,11 @@ discard block |
||
| 371 | 371 | public function InitGrid(string $strFilename = '') : void |
| 372 | 372 | {
|
| 373 | 373 | $this->fontHeader = new XPDFFont('Arial', 'B', 12);
|
| 374 | - $this->fontSubject = new XPDFFont('Arial', 'I', 8);
|
|
| 375 | - $this->fontFooter = new XPDFFont('Arial', 'I', 8);
|
|
| 376 | - $this->fontColHeader= new XPDFFont('Arial', 'B', 10);
|
|
| 377 | - $this->fontSubHeader= new XPDFFont('Arial', 'B', 10);
|
|
| 378 | - $this->fontRows = new XPDFFont('Arial', '', 10);
|
|
| 374 | + $this->fontSubject = new XPDFFont('Arial', 'I', 8);
|
|
| 375 | + $this->fontFooter = new XPDFFont('Arial', 'I', 8);
|
|
| 376 | + $this->fontColHeader = new XPDFFont('Arial', 'B', 10);
|
|
| 377 | + $this->fontSubHeader = new XPDFFont('Arial', 'B', 10);
|
|
| 378 | + $this->fontRows = new XPDFFont('Arial', '', 10);
|
|
| 379 | 379 | |
| 380 | 380 | $this->fltLineHeight = 8.0; |
| 381 | 381 | |
@@ -407,27 +407,27 @@ discard block |
||
| 407 | 407 | if ($jsonData) {
|
| 408 | 408 | if (property_exists($jsonData, 'fontHeader')) {
|
| 409 | 409 | $oFont = $jsonData->fontHeader; |
| 410 | - $this->fontHeader = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 410 | + $this->fontHeader = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 411 | 411 | } |
| 412 | 412 | if (property_exists($jsonData, 'fontSubject')) {
|
| 413 | 413 | $oFont = $jsonData->fontSubject; |
| 414 | - $this->fontSubject = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 414 | + $this->fontSubject = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 415 | 415 | } |
| 416 | 416 | if (property_exists($jsonData, 'fontFooter')) {
|
| 417 | 417 | $oFont = $jsonData->fontFooter; |
| 418 | - $this->fontFooter = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 418 | + $this->fontFooter = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 419 | 419 | } |
| 420 | 420 | if (property_exists($jsonData, 'fontColHeader')) {
|
| 421 | 421 | $oFont = $jsonData->fontColHeader; |
| 422 | - $this->fontColHeader= new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 422 | + $this->fontColHeader = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 423 | 423 | } |
| 424 | 424 | if (property_exists($jsonData, 'fontSubHeader')) {
|
| 425 | 425 | $oFont = $jsonData->fontSubHeader; |
| 426 | - $this->fontSubHeader= new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 426 | + $this->fontSubHeader = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 427 | 427 | } |
| 428 | 428 | if (property_exists($jsonData, 'fontRows')) {
|
| 429 | 429 | $oFont = $jsonData->fontRows; |
| 430 | - $this->fontRows = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 430 | + $this->fontRows = new XPDFFont($oFont->name, $oFont->style, $oFont->size); |
|
| 431 | 431 | } |
| 432 | 432 | |
| 433 | 433 | $this->fltLineHeight = $this->_Property($jsonData, 'dblLineHeight', $this->fltLineHeight); |
@@ -451,9 +451,9 @@ discard block |
||
| 451 | 451 | $this->bStripped = $this->_Property($jsonData, 'bStripped', $this->bStripped); |
| 452 | 452 | $this->border = $this->_Property($jsonData, 'border', $this->border); |
| 453 | 453 | |
| 454 | - $this->bCalcTotals = $this->_Property($jsonData, 'bCalcTotals', $this->bCalcTotals); |
|
| 455 | - $this->bPageTotals = $this->_Property($jsonData, 'bPageTotals', $this->bPageTotals); |
|
| 456 | - $this->bCarryOver = $this->_Property($jsonData, 'bCarryOver', $this->bCarryOver); |
|
| 454 | + $this->bCalcTotals = $this->_Property($jsonData, 'bCalcTotals', $this->bCalcTotals); |
|
| 455 | + $this->bPageTotals = $this->_Property($jsonData, 'bPageTotals', $this->bPageTotals); |
|
| 456 | + $this->bCarryOver = $this->_Property($jsonData, 'bCarryOver', $this->bCarryOver); |
|
| 457 | 457 | |
| 458 | 458 | $this->strTotals = $this->_Property($jsonData, 'strTotals', $this->strTotals); |
| 459 | 459 | $this->strPageTotals = $this->_Property($jsonData, 'strPageTotals', $this->strPageTotals); |
@@ -522,7 +522,7 @@ discard block |
||
| 522 | 522 | * @param string $strSuffix |
| 523 | 523 | * @see XPDF::InitGrid() |
| 524 | 524 | */ |
| 525 | - public function SetNumberFormat(int $iDecimals, string $strPrefix='', string $strSuffix='') : void |
|
| 525 | + public function SetNumberFormat(int $iDecimals, string $strPrefix = '', string $strSuffix = '') : void |
|
| 526 | 526 | {
|
| 527 | 527 | $this->iNumberDecimals = $iDecimals; |
| 528 | 528 | $this->strNumberPrefix = $strPrefix; |
@@ -578,7 +578,7 @@ discard block |
||
| 578 | 578 | */ |
| 579 | 579 | public function SetColHeaderFont(string $strFontname, string $strStyle, int $iSize) : void |
| 580 | 580 | {
|
| 581 | - $this->fontColHeader= new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 581 | + $this->fontColHeader = new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 582 | 582 | } |
| 583 | 583 | |
| 584 | 584 | /** |
@@ -591,7 +591,7 @@ discard block |
||
| 591 | 591 | */ |
| 592 | 592 | public function SetSubHeaderFont(string $strFontname, string $strStyle, int $iSize) : void |
| 593 | 593 | {
|
| 594 | - $this->fontSubHeader= new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 594 | + $this->fontSubHeader = new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 595 | 595 | } |
| 596 | 596 | |
| 597 | 597 | /** |
@@ -604,8 +604,8 @@ discard block |
||
| 604 | 604 | */ |
| 605 | 605 | public function SetRowFont(string $strFontname, string $strStyle, int $iSize) : void |
| 606 | 606 | {
|
| 607 | - $this->fontRows = new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 608 | - $this->SelectFont( $this->fontRows); |
|
| 607 | + $this->fontRows = new XPDFFont($strFontname, $strStyle, $iSize); |
|
| 608 | + $this->SelectFont($this->fontRows); |
|
| 609 | 609 | } |
| 610 | 610 | |
| 611 | 611 | /** |
@@ -654,7 +654,7 @@ discard block |
||
| 654 | 654 | * @param string $strFillColor |
| 655 | 655 | * @param bool $bStripped |
| 656 | 656 | */ |
| 657 | - public function SetRowColors(string $strTextColor, string $strDrawColor, string $strFillColor, bool $bStripped=true) : void |
|
| 657 | + public function SetRowColors(string $strTextColor, string $strDrawColor, string $strFillColor, bool $bStripped = true) : void |
|
| 658 | 658 | {
|
| 659 | 659 | $this->strRowTextColor = $strTextColor; |
| 660 | 660 | $this->strRowDrawColor = $strDrawColor; |
@@ -685,7 +685,7 @@ discard block |
||
| 685 | 685 | * @see XPDF::InitGrid() |
| 686 | 686 | * @param int $iTotals combination of |
| 687 | 687 | */ |
| 688 | - public function EnableTotals(int $iTotals=self::TOTALS) : void |
|
| 688 | + public function EnableTotals(int $iTotals = self::TOTALS) : void |
|
| 689 | 689 | {
|
| 690 | 690 | $this->bCalcTotals = ($iTotals & self::TOTALS) != 0; |
| 691 | 691 | $this->bPageTotals = ($iTotals & self::PAGE_TOTALS) != 0; |
@@ -707,7 +707,7 @@ discard block |
||
| 707 | 707 | * @param string $strPageTotals |
| 708 | 708 | * @param string $strCarryOver |
| 709 | 709 | */ |
| 710 | - public function SetTotalsText(string $strTotals, string $strPageTotals='', string $strCarryOver='') : void |
|
| 710 | + public function SetTotalsText(string $strTotals, string $strPageTotals = '', string $strCarryOver = '') : void |
|
| 711 | 711 | {
|
| 712 | 712 | $this->strTotals = $strTotals; |
| 713 | 713 | if (strlen($strPageTotals) > 0) {
|
@@ -728,7 +728,7 @@ discard block |
||
| 728 | 728 | * @param int $wFlags Flags to define behaviour for column |
| 729 | 729 | * @return int Index of the inserted col |
| 730 | 730 | */ |
| 731 | - public function AddCol(string $strColHeader, float $fltWidth, string $strAlign, string $strField, int $wFlags=0) : int |
|
| 731 | + public function AddCol(string $strColHeader, float $fltWidth, string $strAlign, string $strField, int $wFlags = 0) : int |
|
| 732 | 732 | {
|
| 733 | 733 | $this->iMaxCol++; |
| 734 | 734 | $this->aColWidth[$this->iMaxCol] = $fltWidth; |
@@ -833,10 +833,10 @@ discard block |
||
| 833 | 833 | * @param string $strTotals |
| 834 | 834 | * @param string $strHeader |
| 835 | 835 | */ |
| 836 | - public function StartGroup(string $strTotals, ?string $strHeader=null) : void |
|
| 836 | + public function StartGroup(string $strTotals, ?string $strHeader = null) : void |
|
| 837 | 837 | {
|
| 838 | 838 | $this->strSubTotals = $strTotals; |
| 839 | - for ($i=0; $i < count($this->aSubTotals); $i++) {
|
|
| 839 | + for ($i = 0; $i < count($this->aSubTotals); $i++) {
|
|
| 840 | 840 | $this->aSubTotals[$i] = 0.0; |
| 841 | 841 | } |
| 842 | 842 | if ($strHeader) {
|
@@ -861,7 +861,7 @@ discard block |
||
| 861 | 861 | * @param int $level |
| 862 | 862 | * @param int $y |
| 863 | 863 | */ |
| 864 | - public function Bookmark(string $txt, bool $isUTF8=false, int $level=0, int $y=0) : void |
|
| 864 | + public function Bookmark(string $txt, bool $isUTF8 = false, int $level = 0, int $y = 0) : void |
|
| 865 | 865 | {
|
| 866 | 866 | if (!$isUTF8) {
|
| 867 | 867 | $txt = utf8_encode($txt); |
@@ -887,7 +887,7 @@ discard block |
||
| 887 | 887 | */ |
| 888 | 888 | public function SelectTextColor(string $strColor) : void |
| 889 | 889 | {
|
| 890 | - $r=0; $g=0; $b=0; |
|
| 890 | + $r = 0; $g = 0; $b = 0; |
|
| 891 | 891 | $this->_GetRGB($strColor, $r, $g, $b); |
| 892 | 892 | $this->SetTextColor($r, $g, $b); |
| 893 | 893 | } |
@@ -898,7 +898,7 @@ discard block |
||
| 898 | 898 | */ |
| 899 | 899 | public function SelectDrawColor(string $strColor) : void |
| 900 | 900 | {
|
| 901 | - $r=0; $g=0; $b=0; |
|
| 901 | + $r = 0; $g = 0; $b = 0; |
|
| 902 | 902 | $this->_GetRGB($strColor, $r, $g, $b); |
| 903 | 903 | $this->SetDrawColor($r, $g, $b); |
| 904 | 904 | } |
@@ -909,7 +909,7 @@ discard block |
||
| 909 | 909 | */ |
| 910 | 910 | public function SelectFillColor(string $strColor) : void |
| 911 | 911 | {
|
| 912 | - $r=0; $g=0; $b=0; |
|
| 912 | + $r = 0; $g = 0; $b = 0; |
|
| 913 | 913 | $this->_GetRGB($strColor, $r, $g, $b); |
| 914 | 914 | $this->SetFillColor($r, $g, $b); |
| 915 | 915 | } |
@@ -1135,7 +1135,7 @@ discard block |
||
| 1135 | 1135 | $bFill = $this->bStripped && (($this->iRow % 2) == 0); |
| 1136 | 1136 | |
| 1137 | 1137 | // calc totals if enabled |
| 1138 | - if ($this->bCalcTotals && ($wFlags & self::FLAG_TOTALS_CALC) != 0) {
|
|
| 1138 | + if ($this->bCalcTotals && ($wFlags & self::FLAG_TOTALS_CALC) != 0) {
|
|
| 1139 | 1139 | if (is_numeric($row[$field]) || is_float($row[$field])) {
|
| 1140 | 1140 | $this->aTotals[$i] += $row[$field]; |
| 1141 | 1141 | $this->aSubTotals[$i] += $row[$field]; |
@@ -1160,7 +1160,7 @@ discard block |
||
| 1160 | 1160 | $link = ''; |
| 1161 | 1161 | if (($wFlags & self::FLAG_INT_LINK) != 0) {
|
| 1162 | 1162 | $link = $this->InternalLink($i, $row); |
| 1163 | - $this->SetFont('','U');
|
|
| 1163 | + $this->SetFont('', 'U');
|
|
| 1164 | 1164 | $this->SelectTextColor($this->strLinkTextColor); |
| 1165 | 1165 | } |
| 1166 | 1166 | |
@@ -1174,7 +1174,7 @@ discard block |
||
| 1174 | 1174 | if (isset($this->aImgInfo[$i])) {
|
| 1175 | 1175 | $fltTop += $this->aImgInfo[$i]['fltTop']; |
| 1176 | 1176 | $fltLeft += $this->aImgInfo[$i]['fltLeft']; |
| 1177 | - if ($this->aImgInfo[$i]['fltHeight'] > 0 ) {
|
|
| 1177 | + if ($this->aImgInfo[$i]['fltHeight'] > 0) {
|
|
| 1178 | 1178 | $fltHeight = $this->aImgInfo[$i]['fltHeight']; |
| 1179 | 1179 | } |
| 1180 | 1180 | if ($this->aImgInfo[$i]['fltWidth'] > 0) {
|
@@ -1214,7 +1214,7 @@ discard block |
||
| 1214 | 1214 | $this->SetLineWidth(0.2); |
| 1215 | 1215 | $this->SelectFont($this->fontSubHeader); |
| 1216 | 1216 | } |
| 1217 | - $aTotals = $this->aTotals; |
|
| 1217 | + $aTotals = $this->aTotals; |
|
| 1218 | 1218 | $strText = ''; |
| 1219 | 1219 | switch ($iTotals) {
|
| 1220 | 1220 | case self::TOTALS: |
@@ -1228,7 +1228,7 @@ discard block |
||
| 1228 | 1228 | break; |
| 1229 | 1229 | case self::SUB_TOTALS: |
| 1230 | 1230 | $strText = $this->strSubTotals; |
| 1231 | - $aTotals = $this->aSubTotals; |
|
| 1231 | + $aTotals = $this->aSubTotals; |
|
| 1232 | 1232 | break; |
| 1233 | 1233 | default: |
| 1234 | 1234 | break; |
@@ -1310,8 +1310,8 @@ discard block |
||
| 1310 | 1310 | */ |
| 1311 | 1311 | protected function Col(int $iCol, array $row, bool &$bFill) : string |
| 1312 | 1312 | {
|
| 1313 | - $strCol =''; |
|
| 1314 | - switch($iCol) {
|
|
| 1313 | + $strCol = ''; |
|
| 1314 | + switch ($iCol) {
|
|
| 1315 | 1315 | case self::COL_ROW_NR: |
| 1316 | 1316 | $strCol = $this->iRow; |
| 1317 | 1317 | break; |
@@ -1341,14 +1341,14 @@ discard block |
||
| 1341 | 1341 | protected function _GetRGB(string $strColor, int &$r, int &$g, int &$b) : void |
| 1342 | 1342 | {
|
| 1343 | 1343 | if ($strColor[0] == '#') {
|
| 1344 | - if (strlen( $strColor ) == 7) {
|
|
| 1345 | - $r = intval( substr( $strColor, 1, 2 ), 16); |
|
| 1346 | - $g = intval( substr( $strColor, 3, 2 ), 16); |
|
| 1347 | - $b = intval( substr( $strColor, 5, 2 ), 16); |
|
| 1348 | - } elseif (strlen( $strColor ) == 4) {
|
|
| 1349 | - $r = intval( substr( $strColor, 1, 1 ), 16); |
|
| 1350 | - $g = intval( substr( $strColor, 2, 1 ), 16); |
|
| 1351 | - $b = intval( substr( $strColor, 3, 1 ), 16); |
|
| 1344 | + if (strlen($strColor) == 7) {
|
|
| 1345 | + $r = intval(substr($strColor, 1, 2), 16); |
|
| 1346 | + $g = intval(substr($strColor, 3, 2), 16); |
|
| 1347 | + $b = intval(substr($strColor, 5, 2), 16); |
|
| 1348 | + } elseif (strlen($strColor) == 4) {
|
|
| 1349 | + $r = intval(substr($strColor, 1, 1), 16); |
|
| 1350 | + $g = intval(substr($strColor, 2, 1), 16); |
|
| 1351 | + $b = intval(substr($strColor, 3, 1), 16); |
|
| 1352 | 1352 | $r = $r + (16 * $r); |
| 1353 | 1353 | $g = $g + (16 * $g); |
| 1354 | 1354 | $b = $b + (16 * $b); |
@@ -1387,12 +1387,12 @@ discard block |
||
| 1387 | 1387 | // Restore line width |
| 1388 | 1388 | if ($this->LineWidth != $a['lw']) {
|
| 1389 | 1389 | $this->LineWidth = $a['lw']; |
| 1390 | - $this->_out(sprintf( '%.2F w', $a['lw'] * $this->k )); |
|
| 1390 | + $this->_out(sprintf('%.2F w', $a['lw'] * $this->k));
|
|
| 1391 | 1391 | } |
| 1392 | 1392 | // Restore font |
| 1393 | 1393 | if (($a['family'] != $this->FontFamily) || |
| 1394 | - $a['style'] != $this->FontStyle || |
|
| 1395 | - $a['size'] != $this->FontSizePt) {
|
|
| 1394 | + $a['style'] != $this->FontStyle || |
|
| 1395 | + $a['size'] != $this->FontSizePt) {
|
|
| 1396 | 1396 | $this->SetFont($a['family'], $a['style'], $a['size']); |
| 1397 | 1397 | } |
| 1398 | 1398 | $this->underline = $a['ul']; |
@@ -1400,11 +1400,11 @@ discard block |
||
| 1400 | 1400 | // Restore colors |
| 1401 | 1401 | if ($this->DrawColor != $a['dc']) {
|
| 1402 | 1402 | $this->DrawColor = $a['dc']; |
| 1403 | - $this->_out( $a['dc']); |
|
| 1403 | + $this->_out($a['dc']); |
|
| 1404 | 1404 | } |
| 1405 | 1405 | if ($this->FillColor != $a['fc']) {
|
| 1406 | 1406 | $this->FillColor = $a['fc']; |
| 1407 | - $this->_out( $a['fc']); |
|
| 1407 | + $this->_out($a['fc']); |
|
| 1408 | 1408 | } |
| 1409 | 1409 | $this->TextColor = $a['tc']; |
| 1410 | 1410 | $this->ColorFlag = $a['cf']; |
@@ -1418,7 +1418,7 @@ discard block |
||
| 1418 | 1418 | * @param mixed $default |
| 1419 | 1419 | * @return mixed |
| 1420 | 1420 | */ |
| 1421 | - protected function _Property(\stdClass $obj, string $strName, $default='') |
|
| 1421 | + protected function _Property(\stdClass $obj, string $strName, $default = '') |
|
| 1422 | 1422 | {
|
| 1423 | 1423 | $value = $default; |
| 1424 | 1424 | if (property_exists($obj, $strName)) {
|
@@ -1437,7 +1437,7 @@ discard block |
||
| 1437 | 1437 | if ($this->strCharset != 'UTF-8') {
|
| 1438 | 1438 | $strText = iconv('UTF-8', $this->strCharset, $strText);
|
| 1439 | 1439 | } |
| 1440 | - return html_entity_decode( $strText, ENT_QUOTES, 'UTF-8'); |
|
| 1440 | + return html_entity_decode($strText, ENT_QUOTES, 'UTF-8'); |
|
| 1441 | 1441 | } |
| 1442 | 1442 | |
| 1443 | 1443 | /** |
@@ -1512,7 +1512,7 @@ discard block |
||
| 1512 | 1512 | * @param bool $bSymbol |
| 1513 | 1513 | * @return string |
| 1514 | 1514 | */ |
| 1515 | - protected function _FormatCurrency(float $fltValue, bool $bSymbol=true) : string |
|
| 1515 | + protected function _FormatCurrency(float $fltValue, bool $bSymbol = true) : string |
|
| 1516 | 1516 | {
|
| 1517 | 1517 | if (!$this->bInvalidLocale) {
|
| 1518 | 1518 | $li = localeconv(); |
@@ -1612,13 +1612,13 @@ discard block |
||
| 1612 | 1612 | protected function _putbookmarks() : void |
| 1613 | 1613 | {
|
| 1614 | 1614 | $nb = count($this->outlines); |
| 1615 | - if( $nb==0 ) {
|
|
| 1615 | + if ($nb == 0) {
|
|
| 1616 | 1616 | return; |
| 1617 | 1617 | } |
| 1618 | 1618 | $lru = array(); |
| 1619 | 1619 | $level = 0; |
| 1620 | 1620 | foreach ($this->outlines as $i => $o) {
|
| 1621 | - if ($o['l']>0) {
|
|
| 1621 | + if ($o['l'] > 0) {
|
|
| 1622 | 1622 | $parent = $lru[$o['l'] - 1]; |
| 1623 | 1623 | // Set parent and last pointers |
| 1624 | 1624 | $this->outlines[$i]['parent'] = $parent; |
@@ -1640,7 +1640,7 @@ discard block |
||
| 1640 | 1640 | $level = $o['l']; |
| 1641 | 1641 | } |
| 1642 | 1642 | // Outline items |
| 1643 | - $n = $this->n+1; |
|
| 1643 | + $n = $this->n + 1; |
|
| 1644 | 1644 | foreach ($this->outlines as $i=>$o) {
|
| 1645 | 1645 | $this->_newobj(); |
| 1646 | 1646 | $this->_put('<</Title ' . $this->_textstring($o['t']));
|
@@ -1665,7 +1665,7 @@ discard block |
||
| 1665 | 1665 | $this->_newobj(); |
| 1666 | 1666 | $this->outlineRoot = $this->n; |
| 1667 | 1667 | $this->_put('<</Type /Outlines /First ' . $n . ' 0 R');
|
| 1668 | - $this->_put('/Last ' . ($n+$lru[0]) . ' 0 R>>');
|
|
| 1668 | + $this->_put('/Last ' . ($n + $lru[0]) . ' 0 R>>');
|
|
| 1669 | 1669 | $this->_put('endobj');
|
| 1670 | 1670 | } |
| 1671 | 1671 | |
@@ -1679,7 +1679,7 @@ discard block |
||
| 1679 | 1679 | {
|
| 1680 | 1680 | parent::_putcatalog(); |
| 1681 | 1681 | if (count($this->outlines) > 0) {
|
| 1682 | - $this->_put('/Outlines '.$this->outlineRoot.' 0 R');
|
|
| 1682 | + $this->_put('/Outlines ' . $this->outlineRoot . ' 0 R');
|
|
| 1683 | 1683 | $this->_put('/PageMode /UseOutlines');
|
| 1684 | 1684 | } |
| 1685 | 1685 | } |
@@ -4,18 +4,18 @@ |
||
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | 6 | $cw = array( |
| 7 | - chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, |
|
| 8 | - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
|
|
| 9 | - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, |
|
| 10 | - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, |
|
| 11 | - 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, |
|
| 12 | - 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
|
|
| 13 | - chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, |
|
| 14 | - chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, |
|
| 15 | - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, |
|
| 16 | - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, |
|
| 17 | - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, |
|
| 18 | - chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); |
|
| 7 | + chr(0)=>278, chr(1)=>278, chr(2)=>278, chr(3)=>278, chr(4)=>278, chr(5)=>278, chr(6)=>278, chr(7)=>278, chr(8)=>278, chr(9)=>278, chr(10)=>278, chr(11)=>278, chr(12)=>278, chr(13)=>278, chr(14)=>278, chr(15)=>278, chr(16)=>278, chr(17)=>278, chr(18)=>278, chr(19)=>278, chr(20)=>278, chr(21)=>278, |
|
| 8 | + chr(22)=>278, chr(23)=>278, chr(24)=>278, chr(25)=>278, chr(26)=>278, chr(27)=>278, chr(28)=>278, chr(29)=>278, chr(30)=>278, chr(31)=>278, ' '=>278, '!'=>278, '"'=>355, '#'=>556, '$'=>556, '%'=>889, '&'=>667, '\''=>191, '('=>333, ')'=>333, '*'=>389, '+'=>584,
|
|
| 9 | + ','=>278, '-'=>333, '.'=>278, '/'=>278, '0'=>556, '1'=>556, '2'=>556, '3'=>556, '4'=>556, '5'=>556, '6'=>556, '7'=>556, '8'=>556, '9'=>556, ':'=>278, ';'=>278, '<'=>584, '='=>584, '>'=>584, '?'=>556, '@'=>1015, 'A'=>667, |
|
| 10 | + 'B'=>667, 'C'=>722, 'D'=>722, 'E'=>667, 'F'=>611, 'G'=>778, 'H'=>722, 'I'=>278, 'J'=>500, 'K'=>667, 'L'=>556, 'M'=>833, 'N'=>722, 'O'=>778, 'P'=>667, 'Q'=>778, 'R'=>722, 'S'=>667, 'T'=>611, 'U'=>722, 'V'=>667, 'W'=>944, |
|
| 11 | + 'X'=>667, 'Y'=>667, 'Z'=>611, '['=>278, '\\'=>278, ']'=>278, '^'=>469, '_'=>556, '`'=>333, 'a'=>556, 'b'=>556, 'c'=>500, 'd'=>556, 'e'=>556, 'f'=>278, 'g'=>556, 'h'=>556, 'i'=>222, 'j'=>222, 'k'=>500, 'l'=>222, 'm'=>833, |
|
| 12 | + 'n'=>556, 'o'=>556, 'p'=>556, 'q'=>556, 'r'=>333, 's'=>500, 't'=>278, 'u'=>556, 'v'=>500, 'w'=>722, 'x'=>500, 'y'=>500, 'z'=>500, '{'=>334, '|'=>260, '}'=>334, '~'=>584, chr(127)=>350, chr(128)=>556, chr(129)=>350, chr(130)=>222, chr(131)=>556,
|
|
| 13 | + chr(132)=>333, chr(133)=>1000, chr(134)=>556, chr(135)=>556, chr(136)=>333, chr(137)=>1000, chr(138)=>667, chr(139)=>333, chr(140)=>1000, chr(141)=>350, chr(142)=>611, chr(143)=>350, chr(144)=>350, chr(145)=>222, chr(146)=>222, chr(147)=>333, chr(148)=>333, chr(149)=>350, chr(150)=>556, chr(151)=>1000, chr(152)=>333, chr(153)=>1000, |
|
| 14 | + chr(154)=>500, chr(155)=>333, chr(156)=>944, chr(157)=>350, chr(158)=>500, chr(159)=>667, chr(160)=>278, chr(161)=>333, chr(162)=>556, chr(163)=>556, chr(164)=>556, chr(165)=>556, chr(166)=>260, chr(167)=>556, chr(168)=>333, chr(169)=>737, chr(170)=>370, chr(171)=>556, chr(172)=>584, chr(173)=>333, chr(174)=>737, chr(175)=>333, |
|
| 15 | + chr(176)=>400, chr(177)=>584, chr(178)=>333, chr(179)=>333, chr(180)=>333, chr(181)=>556, chr(182)=>537, chr(183)=>278, chr(184)=>333, chr(185)=>333, chr(186)=>365, chr(187)=>556, chr(188)=>834, chr(189)=>834, chr(190)=>834, chr(191)=>611, chr(192)=>667, chr(193)=>667, chr(194)=>667, chr(195)=>667, chr(196)=>667, chr(197)=>667, |
|
| 16 | + chr(198)=>1000, chr(199)=>722, chr(200)=>667, chr(201)=>667, chr(202)=>667, chr(203)=>667, chr(204)=>278, chr(205)=>278, chr(206)=>278, chr(207)=>278, chr(208)=>722, chr(209)=>722, chr(210)=>778, chr(211)=>778, chr(212)=>778, chr(213)=>778, chr(214)=>778, chr(215)=>584, chr(216)=>778, chr(217)=>722, chr(218)=>722, chr(219)=>722, |
|
| 17 | + chr(220)=>722, chr(221)=>667, chr(222)=>667, chr(223)=>611, chr(224)=>556, chr(225)=>556, chr(226)=>556, chr(227)=>556, chr(228)=>556, chr(229)=>556, chr(230)=>889, chr(231)=>500, chr(232)=>556, chr(233)=>556, chr(234)=>556, chr(235)=>556, chr(236)=>278, chr(237)=>278, chr(238)=>278, chr(239)=>278, chr(240)=>556, chr(241)=>556, |
|
| 18 | + chr(242)=>556, chr(243)=>556, chr(244)=>556, chr(245)=>556, chr(246)=>556, chr(247)=>584, chr(248)=>611, chr(249)=>556, chr(250)=>556, chr(251)=>556, chr(252)=>556, chr(253)=>500, chr(254)=>556, chr(255)=>500); |
|
| 19 | 19 | $enc = 'cp1252'; |
| 20 | -$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); |
|
| 20 | +$uv = array(0=>array(0, 128), 128=>8364, 130=>8218, 131=>402, 132=>8222, 133=>8230, 134=>array(8224, 2), 136=>710, 137=>8240, 138=>352, 139=>8249, 140=>338, 142=>381, 145=>array(8216, 2), 147=>array(8220, 2), 149=>8226, 150=>array(8211, 2), 152=>732, 153=>8482, 154=>353, 155=>8250, 156=>339, 158=>382, 159=>376, 160=>array(160, 96)); |
|
| 21 | 21 | ?> |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | $name = 'Courier-Bold'; |
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | -for($i=0;$i<=255;$i++) |
|
| 6 | +for ($i = 0; $i <= 255; $i++) |
|
| 7 | 7 | $cw[chr($i)] = 600; |
| 8 | 8 | $enc = 'cp1252'; |
| 9 | -$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); |
|
| 9 | +$uv = array(0=>array(0, 128), 128=>8364, 130=>8218, 131=>402, 132=>8222, 133=>8230, 134=>array(8224, 2), 136=>710, 137=>8240, 138=>352, 139=>8249, 140=>338, 142=>381, 145=>array(8216, 2), 147=>array(8220, 2), 149=>8226, 150=>array(8211, 2), 152=>732, 153=>8482, 154=>353, 155=>8250, 156=>339, 158=>382, 159=>376, 160=>array(160, 96)); |
|
| 10 | 10 | ?> |
@@ -4,18 +4,18 @@ |
||
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | 6 | $cw = array( |
| 7 | - chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, |
|
| 8 | - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
|
|
| 9 | - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, |
|
| 10 | - 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, |
|
| 11 | - 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, |
|
| 12 | - 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
|
|
| 13 | - chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, |
|
| 14 | - chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, |
|
| 15 | - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, |
|
| 16 | - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, |
|
| 17 | - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, |
|
| 18 | - chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); |
|
| 7 | + chr(0)=>278, chr(1)=>278, chr(2)=>278, chr(3)=>278, chr(4)=>278, chr(5)=>278, chr(6)=>278, chr(7)=>278, chr(8)=>278, chr(9)=>278, chr(10)=>278, chr(11)=>278, chr(12)=>278, chr(13)=>278, chr(14)=>278, chr(15)=>278, chr(16)=>278, chr(17)=>278, chr(18)=>278, chr(19)=>278, chr(20)=>278, chr(21)=>278, |
|
| 8 | + chr(22)=>278, chr(23)=>278, chr(24)=>278, chr(25)=>278, chr(26)=>278, chr(27)=>278, chr(28)=>278, chr(29)=>278, chr(30)=>278, chr(31)=>278, ' '=>278, '!'=>333, '"'=>474, '#'=>556, '$'=>556, '%'=>889, '&'=>722, '\''=>238, '('=>333, ')'=>333, '*'=>389, '+'=>584,
|
|
| 9 | + ','=>278, '-'=>333, '.'=>278, '/'=>278, '0'=>556, '1'=>556, '2'=>556, '3'=>556, '4'=>556, '5'=>556, '6'=>556, '7'=>556, '8'=>556, '9'=>556, ':'=>333, ';'=>333, '<'=>584, '='=>584, '>'=>584, '?'=>611, '@'=>975, 'A'=>722, |
|
| 10 | + 'B'=>722, 'C'=>722, 'D'=>722, 'E'=>667, 'F'=>611, 'G'=>778, 'H'=>722, 'I'=>278, 'J'=>556, 'K'=>722, 'L'=>611, 'M'=>833, 'N'=>722, 'O'=>778, 'P'=>667, 'Q'=>778, 'R'=>722, 'S'=>667, 'T'=>611, 'U'=>722, 'V'=>667, 'W'=>944, |
|
| 11 | + 'X'=>667, 'Y'=>667, 'Z'=>611, '['=>333, '\\'=>278, ']'=>333, '^'=>584, '_'=>556, '`'=>333, 'a'=>556, 'b'=>611, 'c'=>556, 'd'=>611, 'e'=>556, 'f'=>333, 'g'=>611, 'h'=>611, 'i'=>278, 'j'=>278, 'k'=>556, 'l'=>278, 'm'=>889, |
|
| 12 | + 'n'=>611, 'o'=>611, 'p'=>611, 'q'=>611, 'r'=>389, 's'=>556, 't'=>333, 'u'=>611, 'v'=>556, 'w'=>778, 'x'=>556, 'y'=>556, 'z'=>500, '{'=>389, '|'=>280, '}'=>389, '~'=>584, chr(127)=>350, chr(128)=>556, chr(129)=>350, chr(130)=>278, chr(131)=>556,
|
|
| 13 | + chr(132)=>500, chr(133)=>1000, chr(134)=>556, chr(135)=>556, chr(136)=>333, chr(137)=>1000, chr(138)=>667, chr(139)=>333, chr(140)=>1000, chr(141)=>350, chr(142)=>611, chr(143)=>350, chr(144)=>350, chr(145)=>278, chr(146)=>278, chr(147)=>500, chr(148)=>500, chr(149)=>350, chr(150)=>556, chr(151)=>1000, chr(152)=>333, chr(153)=>1000, |
|
| 14 | + chr(154)=>556, chr(155)=>333, chr(156)=>944, chr(157)=>350, chr(158)=>500, chr(159)=>667, chr(160)=>278, chr(161)=>333, chr(162)=>556, chr(163)=>556, chr(164)=>556, chr(165)=>556, chr(166)=>280, chr(167)=>556, chr(168)=>333, chr(169)=>737, chr(170)=>370, chr(171)=>556, chr(172)=>584, chr(173)=>333, chr(174)=>737, chr(175)=>333, |
|
| 15 | + chr(176)=>400, chr(177)=>584, chr(178)=>333, chr(179)=>333, chr(180)=>333, chr(181)=>611, chr(182)=>556, chr(183)=>278, chr(184)=>333, chr(185)=>333, chr(186)=>365, chr(187)=>556, chr(188)=>834, chr(189)=>834, chr(190)=>834, chr(191)=>611, chr(192)=>722, chr(193)=>722, chr(194)=>722, chr(195)=>722, chr(196)=>722, chr(197)=>722, |
|
| 16 | + chr(198)=>1000, chr(199)=>722, chr(200)=>667, chr(201)=>667, chr(202)=>667, chr(203)=>667, chr(204)=>278, chr(205)=>278, chr(206)=>278, chr(207)=>278, chr(208)=>722, chr(209)=>722, chr(210)=>778, chr(211)=>778, chr(212)=>778, chr(213)=>778, chr(214)=>778, chr(215)=>584, chr(216)=>778, chr(217)=>722, chr(218)=>722, chr(219)=>722, |
|
| 17 | + chr(220)=>722, chr(221)=>667, chr(222)=>667, chr(223)=>611, chr(224)=>556, chr(225)=>556, chr(226)=>556, chr(227)=>556, chr(228)=>556, chr(229)=>556, chr(230)=>889, chr(231)=>556, chr(232)=>556, chr(233)=>556, chr(234)=>556, chr(235)=>556, chr(236)=>278, chr(237)=>278, chr(238)=>278, chr(239)=>278, chr(240)=>611, chr(241)=>611, |
|
| 18 | + chr(242)=>611, chr(243)=>611, chr(244)=>611, chr(245)=>611, chr(246)=>611, chr(247)=>584, chr(248)=>611, chr(249)=>611, chr(250)=>611, chr(251)=>611, chr(252)=>611, chr(253)=>556, chr(254)=>611, chr(255)=>556); |
|
| 19 | 19 | $enc = 'cp1252'; |
| 20 | -$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); |
|
| 20 | +$uv = array(0=>array(0, 128), 128=>8364, 130=>8218, 131=>402, 132=>8222, 133=>8230, 134=>array(8224, 2), 136=>710, 137=>8240, 138=>352, 139=>8249, 140=>338, 142=>381, 145=>array(8216, 2), 147=>array(8220, 2), 149=>8226, 150=>array(8211, 2), 152=>732, 153=>8482, 154=>353, 155=>8250, 156=>339, 158=>382, 159=>376, 160=>array(160, 96)); |
|
| 21 | 21 | ?> |
@@ -4,18 +4,18 @@ |
||
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | 6 | $cw = array( |
| 7 | - chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, |
|
| 8 | - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
|
|
| 9 | - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, |
|
| 10 | - 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, |
|
| 11 | - 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, |
|
| 12 | - 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
|
|
| 13 | - chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, |
|
| 14 | - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, |
|
| 15 | - chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, |
|
| 16 | - chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, |
|
| 17 | - chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, |
|
| 18 | - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); |
|
| 7 | + chr(0)=>250, chr(1)=>250, chr(2)=>250, chr(3)=>250, chr(4)=>250, chr(5)=>250, chr(6)=>250, chr(7)=>250, chr(8)=>250, chr(9)=>250, chr(10)=>250, chr(11)=>250, chr(12)=>250, chr(13)=>250, chr(14)=>250, chr(15)=>250, chr(16)=>250, chr(17)=>250, chr(18)=>250, chr(19)=>250, chr(20)=>250, chr(21)=>250, |
|
| 8 | + chr(22)=>250, chr(23)=>250, chr(24)=>250, chr(25)=>250, chr(26)=>250, chr(27)=>250, chr(28)=>250, chr(29)=>250, chr(30)=>250, chr(31)=>250, ' '=>250, '!'=>389, '"'=>555, '#'=>500, '$'=>500, '%'=>833, '&'=>778, '\''=>278, '('=>333, ')'=>333, '*'=>500, '+'=>570,
|
|
| 9 | + ','=>250, '-'=>333, '.'=>250, '/'=>278, '0'=>500, '1'=>500, '2'=>500, '3'=>500, '4'=>500, '5'=>500, '6'=>500, '7'=>500, '8'=>500, '9'=>500, ':'=>333, ';'=>333, '<'=>570, '='=>570, '>'=>570, '?'=>500, '@'=>832, 'A'=>667, |
|
| 10 | + 'B'=>667, 'C'=>667, 'D'=>722, 'E'=>667, 'F'=>667, 'G'=>722, 'H'=>778, 'I'=>389, 'J'=>500, 'K'=>667, 'L'=>611, 'M'=>889, 'N'=>722, 'O'=>722, 'P'=>611, 'Q'=>722, 'R'=>667, 'S'=>556, 'T'=>611, 'U'=>722, 'V'=>667, 'W'=>889, |
|
| 11 | + 'X'=>667, 'Y'=>611, 'Z'=>611, '['=>333, '\\'=>278, ']'=>333, '^'=>570, '_'=>500, '`'=>333, 'a'=>500, 'b'=>500, 'c'=>444, 'd'=>500, 'e'=>444, 'f'=>333, 'g'=>500, 'h'=>556, 'i'=>278, 'j'=>278, 'k'=>500, 'l'=>278, 'm'=>778, |
|
| 12 | + 'n'=>556, 'o'=>500, 'p'=>500, 'q'=>500, 'r'=>389, 's'=>389, 't'=>278, 'u'=>556, 'v'=>444, 'w'=>667, 'x'=>500, 'y'=>444, 'z'=>389, '{'=>348, '|'=>220, '}'=>348, '~'=>570, chr(127)=>350, chr(128)=>500, chr(129)=>350, chr(130)=>333, chr(131)=>500,
|
|
| 13 | + chr(132)=>500, chr(133)=>1000, chr(134)=>500, chr(135)=>500, chr(136)=>333, chr(137)=>1000, chr(138)=>556, chr(139)=>333, chr(140)=>944, chr(141)=>350, chr(142)=>611, chr(143)=>350, chr(144)=>350, chr(145)=>333, chr(146)=>333, chr(147)=>500, chr(148)=>500, chr(149)=>350, chr(150)=>500, chr(151)=>1000, chr(152)=>333, chr(153)=>1000, |
|
| 14 | + chr(154)=>389, chr(155)=>333, chr(156)=>722, chr(157)=>350, chr(158)=>389, chr(159)=>611, chr(160)=>250, chr(161)=>389, chr(162)=>500, chr(163)=>500, chr(164)=>500, chr(165)=>500, chr(166)=>220, chr(167)=>500, chr(168)=>333, chr(169)=>747, chr(170)=>266, chr(171)=>500, chr(172)=>606, chr(173)=>333, chr(174)=>747, chr(175)=>333, |
|
| 15 | + chr(176)=>400, chr(177)=>570, chr(178)=>300, chr(179)=>300, chr(180)=>333, chr(181)=>576, chr(182)=>500, chr(183)=>250, chr(184)=>333, chr(185)=>300, chr(186)=>300, chr(187)=>500, chr(188)=>750, chr(189)=>750, chr(190)=>750, chr(191)=>500, chr(192)=>667, chr(193)=>667, chr(194)=>667, chr(195)=>667, chr(196)=>667, chr(197)=>667, |
|
| 16 | + chr(198)=>944, chr(199)=>667, chr(200)=>667, chr(201)=>667, chr(202)=>667, chr(203)=>667, chr(204)=>389, chr(205)=>389, chr(206)=>389, chr(207)=>389, chr(208)=>722, chr(209)=>722, chr(210)=>722, chr(211)=>722, chr(212)=>722, chr(213)=>722, chr(214)=>722, chr(215)=>570, chr(216)=>722, chr(217)=>722, chr(218)=>722, chr(219)=>722, |
|
| 17 | + chr(220)=>722, chr(221)=>611, chr(222)=>611, chr(223)=>500, chr(224)=>500, chr(225)=>500, chr(226)=>500, chr(227)=>500, chr(228)=>500, chr(229)=>500, chr(230)=>722, chr(231)=>444, chr(232)=>444, chr(233)=>444, chr(234)=>444, chr(235)=>444, chr(236)=>278, chr(237)=>278, chr(238)=>278, chr(239)=>278, chr(240)=>500, chr(241)=>556, |
|
| 18 | + chr(242)=>500, chr(243)=>500, chr(244)=>500, chr(245)=>500, chr(246)=>500, chr(247)=>570, chr(248)=>500, chr(249)=>556, chr(250)=>556, chr(251)=>556, chr(252)=>556, chr(253)=>444, chr(254)=>500, chr(255)=>444); |
|
| 19 | 19 | $enc = 'cp1252'; |
| 20 | -$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); |
|
| 20 | +$uv = array(0=>array(0, 128), 128=>8364, 130=>8218, 131=>402, 132=>8222, 133=>8230, 134=>array(8224, 2), 136=>710, 137=>8240, 138=>352, 139=>8249, 140=>338, 142=>381, 145=>array(8216, 2), 147=>array(8220, 2), 149=>8226, 150=>array(8211, 2), 152=>732, 153=>8482, 154=>353, 155=>8250, 156=>339, 158=>382, 159=>376, 160=>array(160, 96)); |
|
| 21 | 21 | ?> |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | $name = 'Courier-BoldOblique'; |
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | -for($i=0;$i<=255;$i++) |
|
| 6 | +for ($i = 0; $i <= 255; $i++) |
|
| 7 | 7 | $cw[chr($i)] = 600; |
| 8 | 8 | $enc = 'cp1252'; |
| 9 | -$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); |
|
| 9 | +$uv = array(0=>array(0, 128), 128=>8364, 130=>8218, 131=>402, 132=>8222, 133=>8230, 134=>array(8224, 2), 136=>710, 137=>8240, 138=>352, 139=>8249, 140=>338, 142=>381, 145=>array(8216, 2), 147=>array(8220, 2), 149=>8226, 150=>array(8211, 2), 152=>732, 153=>8482, 154=>353, 155=>8250, 156=>339, 158=>382, 159=>376, 160=>array(160, 96)); |
|
| 10 | 10 | ?> |
@@ -4,17 +4,17 @@ |
||
| 4 | 4 | $up = -100; |
| 5 | 5 | $ut = 50; |
| 6 | 6 | $cw = array( |
| 7 | - chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, |
|
| 8 | - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549,
|
|
| 9 | - ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, |
|
| 10 | - 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, |
|
| 11 | - 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, |
|
| 12 | - 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0,
|
|
| 13 | - chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, |
|
| 14 | - chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, |
|
| 15 | - chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, |
|
| 16 | - chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, |
|
| 17 | - chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, |
|
| 18 | - chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); |
|
| 19 | -$uv = array(32=>160,33=>33,34=>8704,35=>35,36=>8707,37=>array(37,2),39=>8715,40=>array(40,2),42=>8727,43=>array(43,2),45=>8722,46=>array(46,18),64=>8773,65=>array(913,2),67=>935,68=>array(916,2),70=>934,71=>915,72=>919,73=>921,74=>977,75=>array(922,4),79=>array(927,2),81=>920,82=>929,83=>array(931,3),86=>962,87=>937,88=>926,89=>936,90=>918,91=>91,92=>8756,93=>93,94=>8869,95=>95,96=>63717,97=>array(945,2),99=>967,100=>array(948,2),102=>966,103=>947,104=>951,105=>953,106=>981,107=>array(954,4),111=>array(959,2),113=>952,114=>961,115=>array(963,3),118=>982,119=>969,120=>958,121=>968,122=>950,123=>array(123,3),126=>8764,160=>8364,161=>978,162=>8242,163=>8804,164=>8725,165=>8734,166=>402,167=>9827,168=>9830,169=>9829,170=>9824,171=>8596,172=>array(8592,4),176=>array(176,2),178=>8243,179=>8805,180=>215,181=>8733,182=>8706,183=>8226,184=>247,185=>array(8800,2),187=>8776,188=>8230,189=>array(63718,2),191=>8629,192=>8501,193=>8465,194=>8476,195=>8472,196=>8855,197=>8853,198=>8709,199=>array(8745,2),201=>8835,202=>8839,203=>8836,204=>8834,205=>8838,206=>array(8712,2),208=>8736,209=>8711,210=>63194,211=>63193,212=>63195,213=>8719,214=>8730,215=>8901,216=>172,217=>array(8743,2),219=>8660,220=>array(8656,4),224=>9674,225=>9001,226=>array(63720,3),229=>8721,230=>array(63723,10),241=>9002,242=>8747,243=>8992,244=>63733,245=>8993,246=>array(63734,9)); |
|
| 7 | + chr(0)=>250, chr(1)=>250, chr(2)=>250, chr(3)=>250, chr(4)=>250, chr(5)=>250, chr(6)=>250, chr(7)=>250, chr(8)=>250, chr(9)=>250, chr(10)=>250, chr(11)=>250, chr(12)=>250, chr(13)=>250, chr(14)=>250, chr(15)=>250, chr(16)=>250, chr(17)=>250, chr(18)=>250, chr(19)=>250, chr(20)=>250, chr(21)=>250, |
|
| 8 | + chr(22)=>250, chr(23)=>250, chr(24)=>250, chr(25)=>250, chr(26)=>250, chr(27)=>250, chr(28)=>250, chr(29)=>250, chr(30)=>250, chr(31)=>250, ' '=>250, '!'=>333, '"'=>713, '#'=>500, '$'=>549, '%'=>833, '&'=>778, '\''=>439, '('=>333, ')'=>333, '*'=>500, '+'=>549,
|
|
| 9 | + ','=>250, '-'=>549, '.'=>250, '/'=>278, '0'=>500, '1'=>500, '2'=>500, '3'=>500, '4'=>500, '5'=>500, '6'=>500, '7'=>500, '8'=>500, '9'=>500, ':'=>278, ';'=>278, '<'=>549, '='=>549, '>'=>549, '?'=>444, '@'=>549, 'A'=>722, |
|
| 10 | + 'B'=>667, 'C'=>722, 'D'=>612, 'E'=>611, 'F'=>763, 'G'=>603, 'H'=>722, 'I'=>333, 'J'=>631, 'K'=>722, 'L'=>686, 'M'=>889, 'N'=>722, 'O'=>722, 'P'=>768, 'Q'=>741, 'R'=>556, 'S'=>592, 'T'=>611, 'U'=>690, 'V'=>439, 'W'=>768, |
|
| 11 | + 'X'=>645, 'Y'=>795, 'Z'=>611, '['=>333, '\\'=>863, ']'=>333, '^'=>658, '_'=>500, '`'=>500, 'a'=>631, 'b'=>549, 'c'=>549, 'd'=>494, 'e'=>439, 'f'=>521, 'g'=>411, 'h'=>603, 'i'=>329, 'j'=>603, 'k'=>549, 'l'=>549, 'm'=>576, |
|
| 12 | + 'n'=>521, 'o'=>549, 'p'=>549, 'q'=>521, 'r'=>549, 's'=>603, 't'=>439, 'u'=>576, 'v'=>713, 'w'=>686, 'x'=>493, 'y'=>686, 'z'=>494, '{'=>480, '|'=>200, '}'=>480, '~'=>549, chr(127)=>0, chr(128)=>0, chr(129)=>0, chr(130)=>0, chr(131)=>0,
|
|
| 13 | + chr(132)=>0, chr(133)=>0, chr(134)=>0, chr(135)=>0, chr(136)=>0, chr(137)=>0, chr(138)=>0, chr(139)=>0, chr(140)=>0, chr(141)=>0, chr(142)=>0, chr(143)=>0, chr(144)=>0, chr(145)=>0, chr(146)=>0, chr(147)=>0, chr(148)=>0, chr(149)=>0, chr(150)=>0, chr(151)=>0, chr(152)=>0, chr(153)=>0, |
|
| 14 | + chr(154)=>0, chr(155)=>0, chr(156)=>0, chr(157)=>0, chr(158)=>0, chr(159)=>0, chr(160)=>750, chr(161)=>620, chr(162)=>247, chr(163)=>549, chr(164)=>167, chr(165)=>713, chr(166)=>500, chr(167)=>753, chr(168)=>753, chr(169)=>753, chr(170)=>753, chr(171)=>1042, chr(172)=>987, chr(173)=>603, chr(174)=>987, chr(175)=>603, |
|
| 15 | + chr(176)=>400, chr(177)=>549, chr(178)=>411, chr(179)=>549, chr(180)=>549, chr(181)=>713, chr(182)=>494, chr(183)=>460, chr(184)=>549, chr(185)=>549, chr(186)=>549, chr(187)=>549, chr(188)=>1000, chr(189)=>603, chr(190)=>1000, chr(191)=>658, chr(192)=>823, chr(193)=>686, chr(194)=>795, chr(195)=>987, chr(196)=>768, chr(197)=>768, |
|
| 16 | + chr(198)=>823, chr(199)=>768, chr(200)=>768, chr(201)=>713, chr(202)=>713, chr(203)=>713, chr(204)=>713, chr(205)=>713, chr(206)=>713, chr(207)=>713, chr(208)=>768, chr(209)=>713, chr(210)=>790, chr(211)=>790, chr(212)=>890, chr(213)=>823, chr(214)=>549, chr(215)=>250, chr(216)=>713, chr(217)=>603, chr(218)=>603, chr(219)=>1042, |
|
| 17 | + chr(220)=>987, chr(221)=>603, chr(222)=>987, chr(223)=>603, chr(224)=>494, chr(225)=>329, chr(226)=>790, chr(227)=>790, chr(228)=>786, chr(229)=>713, chr(230)=>384, chr(231)=>384, chr(232)=>384, chr(233)=>384, chr(234)=>384, chr(235)=>384, chr(236)=>494, chr(237)=>494, chr(238)=>494, chr(239)=>494, chr(240)=>0, chr(241)=>329, |
|
| 18 | + chr(242)=>274, chr(243)=>686, chr(244)=>686, chr(245)=>686, chr(246)=>384, chr(247)=>384, chr(248)=>384, chr(249)=>384, chr(250)=>384, chr(251)=>384, chr(252)=>494, chr(253)=>494, chr(254)=>494, chr(255)=>0); |
|
| 19 | +$uv = array(32=>160, 33=>33, 34=>8704, 35=>35, 36=>8707, 37=>array(37, 2), 39=>8715, 40=>array(40, 2), 42=>8727, 43=>array(43, 2), 45=>8722, 46=>array(46, 18), 64=>8773, 65=>array(913, 2), 67=>935, 68=>array(916, 2), 70=>934, 71=>915, 72=>919, 73=>921, 74=>977, 75=>array(922, 4), 79=>array(927, 2), 81=>920, 82=>929, 83=>array(931, 3), 86=>962, 87=>937, 88=>926, 89=>936, 90=>918, 91=>91, 92=>8756, 93=>93, 94=>8869, 95=>95, 96=>63717, 97=>array(945, 2), 99=>967, 100=>array(948, 2), 102=>966, 103=>947, 104=>951, 105=>953, 106=>981, 107=>array(954, 4), 111=>array(959, 2), 113=>952, 114=>961, 115=>array(963, 3), 118=>982, 119=>969, 120=>958, 121=>968, 122=>950, 123=>array(123, 3), 126=>8764, 160=>8364, 161=>978, 162=>8242, 163=>8804, 164=>8725, 165=>8734, 166=>402, 167=>9827, 168=>9830, 169=>9829, 170=>9824, 171=>8596, 172=>array(8592, 4), 176=>array(176, 2), 178=>8243, 179=>8805, 180=>215, 181=>8733, 182=>8706, 183=>8226, 184=>247, 185=>array(8800, 2), 187=>8776, 188=>8230, 189=>array(63718, 2), 191=>8629, 192=>8501, 193=>8465, 194=>8476, 195=>8472, 196=>8855, 197=>8853, 198=>8709, 199=>array(8745, 2), 201=>8835, 202=>8839, 203=>8836, 204=>8834, 205=>8838, 206=>array(8712, 2), 208=>8736, 209=>8711, 210=>63194, 211=>63193, 212=>63195, 213=>8719, 214=>8730, 215=>8901, 216=>172, 217=>array(8743, 2), 219=>8660, 220=>array(8656, 4), 224=>9674, 225=>9001, 226=>array(63720, 3), 229=>8721, 230=>array(63723, 10), 241=>9002, 242=>8747, 243=>8992, 244=>63733, 245=>8993, 246=>array(63734, 9)); |
|
| 20 | 20 | ?> |