This commit is contained in:
wangjinlei
2022-09-12 17:42:14 +08:00
parent ea2355c4d8
commit 8490380169
4 changed files with 389 additions and 61 deletions

BIN
vendor/fpdf/bg.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

View File

@@ -73,7 +73,7 @@ var $PDFVersion; // PDF version number
* Public methods *
* *
*******************************************************************************/
function FPDF($orientation='P', $unit='mm', $size='A4')
function __construct($orientation='P', $unit='mm', $size='A4')
{
// Some checks
$this->_dochecks();

14
vendor/fpdi/fpdi.php vendored
View File

@@ -559,11 +559,15 @@ class FPDI extends FPDF_TPL
$this->_straightOut('<<');
reset ($value[1]);
while (list($k, $v) = each($value[1])) {
$this->_straightOut($k . ' ');
$this->_writeValue($v);
}
foreach ($value[1] as $k => $v){
$this->_straightOut($k . ' ');
$this->_writeValue($v);
}
// while (list($k, $v) = each($value[1])) {
// $this->_straightOut($k . ' ');
// $this->_writeValue($v);
// }
$this->_straightOut('>>');
break;