Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-01-14 01:48:40 +0300
committermattab <matthieu.aubry@gmail.com>2015-01-14 01:48:40 +0300
commit601c96f80f9bce2cc725567c1a96169e704a190a (patch)
tree1031c37f13d9154967af07b6e869ed7995d19d1d /core/ReportRenderer/Pdf.php
parent38c811e72aeb6bbbd2de5258f7435102889670d1 (diff)
Add ability to customise the font family in HTML email reports
Diffstat (limited to 'core/ReportRenderer/Pdf.php')
-rw-r--r--core/ReportRenderer/Pdf.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php
index 47c2ebf900..2f576fad47 100644
--- a/core/ReportRenderer/Pdf.php
+++ b/core/ReportRenderer/Pdf.php
@@ -75,7 +75,7 @@ class Pdf extends ReportRenderer
private $reportColumns;
private $reportRowsMetadata;
private $currentPage = 0;
- private $reportFont = ReportRenderer::DEFAULT_REPORT_FONT;
+ private $reportFont = ReportRenderer::DEFAULT_REPORT_FONT_FAMILY;
private $TCPDF;
private $orientation = self::PORTRAIT;
@@ -115,7 +115,7 @@ class Pdf extends ReportRenderer
case 'en':
default:
- $reportFont = ReportRenderer::DEFAULT_REPORT_FONT;
+ $reportFont = ReportRenderer::DEFAULT_REPORT_FONT_FAMILY;
break;
}
$this->reportFont = $reportFont;