Update PDF.php
First update for increasing customisation for pdf-page-numbering-fonts. Signed-off-by: n1smithy <140073251+n1smithy@users.noreply.github.com>
This commit is contained in:
parent
876a025e7c
commit
e566f83adc
|
|
@ -21,8 +21,16 @@ class PDF extends FPDI
|
||||||
|
|
||||||
public function Footer()
|
public function Footer()
|
||||||
{
|
{
|
||||||
$this->SetFont('Arial', 'I', 9);
|
$this->SetFont(
|
||||||
$this->SetTextColor(135, 135, 135);
|
config('ninja.pdf_page_numbering_font_name'),
|
||||||
|
config('ninja.pdf_page_numbering_font_style'),
|
||||||
|
config('ninja.pdf_page_numbering_font_size')
|
||||||
|
);
|
||||||
|
$this->SetTextColor(
|
||||||
|
config('ninja.pdf_page_numbering_font_color_red'),
|
||||||
|
config('ninja.pdf_page_numbering_font_color_green'),
|
||||||
|
config('ninja.pdf_page_numbering_font_color_blue')
|
||||||
|
);
|
||||||
|
|
||||||
$trans = ctrans('texts.pdf_page_info', ['current' => $this->PageNo(), 'total' => '{nb}']);
|
$trans = ctrans('texts.pdf_page_info', ['current' => $this->PageNo(), 'total' => '{nb}']);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue