[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/08: PDF.is_fill : fix bug
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/08: PDF.is_fill : fix bug |
Date: |
Sat, 14 Sep 2019 17:47:20 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit b6e5d1fe3a9e2801ad2a97b72ee99bf4a46d92f6
Author: Dany De Bontridder <address@hidden>
Date: Sat Sep 14 23:15:53 2019 +0200
PDF.is_fill : fix bug
---
include/lib/pdf_core.class.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/lib/pdf_core.class.php b/include/lib/pdf_core.class.php
index abfbb92..f85fcd2 100644
--- a/include/lib/pdf_core.class.php
+++ b/include/lib/pdf_core.class.php
@@ -62,11 +62,13 @@ class PDF_Core extends TFPDF
parent::__construct($orientation, $unit, $format);
$this->AddFont('DejaVu','','DejaVuSans.ttf',true);
+ $this->AddFont('DejaVu','I','DejaVuSans-Oblique.ttf',true);
$this->AddFont('DejaVu','B','DejaVuSans-Bold.ttf',true);
$this->AddFont('DejaVu','BI','DejaVuSans-BoldOblique.ttf',true);
$this->AddFont('DejaVuCond','','DejaVuSansCondensed.ttf',true);
$this->AddFont('DejaVuCond','B','DejaVuSansCondensed-Bold.ttf',true);
$this->AddFont('DejaVuCond','I','DejaVuSansCondensed-Oblique.ttf',true);
+
$this->AddFont('DejaVuCond','BI','DejaVuSansCondensed-BoldOblique.ttf',true);
@@ -263,10 +265,10 @@ class PDF_Core extends TFPDF
function is_fill($p_step)
{
if ($p_step % 2 == 0) {
- $pdf->SetFillColor(220, 221, 255);
+ $this->SetFillColor(220, 221, 255);
$fill = 1;
} else {
- $pdf->SetFillColor(0, 0, 0);
+ $this->SetFillColor(255, 255, 255);
$fill = 0;
}
return $p_step;
- [Noalyss-commit] [noalyss] branch master updated (f4d6c5c -> d7f5a91), Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 01/08: Readd compile_text, Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 03/08: task #0001448: Date dans le nom de l'impression de balance, Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 04/08: Task #0001712: Inversion C et D dans les balances sur 2 exercices, Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 05/08: Summary VAT : message, Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 06/08: PDF.is_fill : fix bug,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 08/08: Merge branch 'dev7109', Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 07/08: PDF : set creator, Dany De Bontridder, 2019/09/14
- [Noalyss-commit] [noalyss] 02/08: task #0001705: Lettrage - garder période de départ pour choix des opérations, Dany De Bontridder, 2019/09/14