From 9761018544a03cf8726b439c99a767206d467db5 Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 7 Jun 2021 13:36:44 +0200 Subject: [PATCH] add mr changes and remove setup font token --- pandora_console/extensions/disabled/matrix_events.php | 2 +- pandora_console/include/functions_visual_map.php | 4 ++-- pandora_console/include/graphs/fgraph.php | 2 +- pandora_console/include/styles/help.css | 2 +- pandora_console/include/styles/install.css | 2 +- pandora_console/vendor/mpdf/mpdf/src/Mpdf.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/extensions/disabled/matrix_events.php b/pandora_console/extensions/disabled/matrix_events.php index 2f8d815684..e93cd24f8e 100644 --- a/pandora_console/extensions/disabled/matrix_events.php +++ b/pandora_console/extensions/disabled/matrix_events.php @@ -103,7 +103,7 @@ function load_matrix_console() context.fillRect(0, 0, width, height); context.fillStyle = "#0F0"; // Green text - context.font = font_size + "px arial"; + context.font = font_size + "px lato"; // Looping over drops for (var i = 0; i < drops.length; i++) { if (drops[i] == -1) { diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index ad718ef801..b592c240ca 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -2666,7 +2666,7 @@ function visual_map_process_wizard_add_modules( $id_server=0, $kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE, $item_in_the_map=0, - $fontf='arial', + $fontf='lato', $fonts='12pt' ) { if (empty($id_modules)) { @@ -2943,7 +2943,7 @@ function visual_map_process_wizard_add_agents( $id_server=0, $kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE, $item_in_the_map=0, - $fontf='arial', + $fontf='lato', $fonts='12pt' ) { global $config; diff --git a/pandora_console/include/graphs/fgraph.php b/pandora_console/include/graphs/fgraph.php index ab49f72dce..00004e6d71 100644 --- a/pandora_console/include/graphs/fgraph.php +++ b/pandora_console/include/graphs/fgraph.php @@ -178,7 +178,7 @@ function vbar_graph( if (isset($options['x']['title']['fontFamily']) === false) { $options['x']['title']['fontFamily'] = preg_replace( '/.ttf/', - 'Font, Arial', + 'Font, lato', $config['fontpath'] ); } diff --git a/pandora_console/include/styles/help.css b/pandora_console/include/styles/help.css index 99bdc0aa0a..0fe8888f5c 100644 --- a/pandora_console/include/styles/help.css +++ b/pandora_console/include/styles/help.css @@ -22,7 +22,7 @@ h1, h2, h3 { - font: bold 1em Arial, Sans-serif; + font: bold 1em; text-transform: uppercase; color: #675; padding-bottom: 5px; diff --git a/pandora_console/include/styles/install.css b/pandora_console/include/styles/install.css index 7ebb982332..5327627304 100644 --- a/pandora_console/include/styles/install.css +++ b/pandora_console/include/styles/install.css @@ -17,7 +17,7 @@ */ h1 { - font: bold 1em Arial, Sans-serif; + font: bold 1em; font-size: 18px; color: #ffffff; text-align: center; diff --git a/pandora_console/vendor/mpdf/mpdf/src/Mpdf.php b/pandora_console/vendor/mpdf/mpdf/src/Mpdf.php index 93bbe1b110..c534165036 100644 --- a/pandora_console/vendor/mpdf/mpdf/src/Mpdf.php +++ b/pandora_console/vendor/mpdf/mpdf/src/Mpdf.php @@ -14705,7 +14705,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface if ($this->printers_info) { $hd = date('Y-m-d H:i') . ' Page ' . $this->page . ' of {nb}'; $this->SetTColor($this->colorConverter->convert(0, $this->PDFAXwarnings)); - $this->SetFont('arial', '', 7.5, true, true); + $this->SetFont('lato', '', 7.5, true, true); $this->x = $this->page_box['outer_width_LR'] + 1.5; $this->y = 1; $this->Cell($headerpgwidth, $this->FontSize, $hd, 0, 0, 'L', 0, '', 0, 0, 0, 'M');