mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
add mr changes and remove setup font token
This commit is contained in:
parent
ce2abf1fb5
commit
9761018544
@ -103,7 +103,7 @@ function load_matrix_console()
|
|||||||
context.fillRect(0, 0, width, height);
|
context.fillRect(0, 0, width, height);
|
||||||
|
|
||||||
context.fillStyle = "#0F0"; // Green text
|
context.fillStyle = "#0F0"; // Green text
|
||||||
context.font = font_size + "px arial";
|
context.font = font_size + "px lato";
|
||||||
// Looping over drops
|
// Looping over drops
|
||||||
for (var i = 0; i < drops.length; i++) {
|
for (var i = 0; i < drops.length; i++) {
|
||||||
if (drops[i] == -1) {
|
if (drops[i] == -1) {
|
||||||
|
@ -2666,7 +2666,7 @@ function visual_map_process_wizard_add_modules(
|
|||||||
$id_server=0,
|
$id_server=0,
|
||||||
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
|
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
|
||||||
$item_in_the_map=0,
|
$item_in_the_map=0,
|
||||||
$fontf='arial',
|
$fontf='lato',
|
||||||
$fonts='12pt'
|
$fonts='12pt'
|
||||||
) {
|
) {
|
||||||
if (empty($id_modules)) {
|
if (empty($id_modules)) {
|
||||||
@ -2943,7 +2943,7 @@ function visual_map_process_wizard_add_agents(
|
|||||||
$id_server=0,
|
$id_server=0,
|
||||||
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
|
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
|
||||||
$item_in_the_map=0,
|
$item_in_the_map=0,
|
||||||
$fontf='arial',
|
$fontf='lato',
|
||||||
$fonts='12pt'
|
$fonts='12pt'
|
||||||
) {
|
) {
|
||||||
global $config;
|
global $config;
|
||||||
|
@ -178,7 +178,7 @@ function vbar_graph(
|
|||||||
if (isset($options['x']['title']['fontFamily']) === false) {
|
if (isset($options['x']['title']['fontFamily']) === false) {
|
||||||
$options['x']['title']['fontFamily'] = preg_replace(
|
$options['x']['title']['fontFamily'] = preg_replace(
|
||||||
'/.ttf/',
|
'/.ttf/',
|
||||||
'Font, Arial',
|
'Font, lato',
|
||||||
$config['fontpath']
|
$config['fontpath']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3 {
|
h3 {
|
||||||
font: bold 1em Arial, Sans-serif;
|
font: bold 1em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #675;
|
color: #675;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font: bold 1em Arial, Sans-serif;
|
font: bold 1em;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -14705,7 +14705,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
|||||||
if ($this->printers_info) {
|
if ($this->printers_info) {
|
||||||
$hd = date('Y-m-d H:i') . ' Page ' . $this->page . ' of {nb}';
|
$hd = date('Y-m-d H:i') . ' Page ' . $this->page . ' of {nb}';
|
||||||
$this->SetTColor($this->colorConverter->convert(0, $this->PDFAXwarnings));
|
$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->x = $this->page_box['outer_width_LR'] + 1.5;
|
||||||
$this->y = 1;
|
$this->y = 1;
|
||||||
$this->Cell($headerpgwidth, $this->FontSize, $hd, 0, 0, 'L', 0, '', 0, 0, 0, 'M');
|
$this->Cell($headerpgwidth, $this->FontSize, $hd, 0, 0, 'L', 0, '', 0, 0, 0, 'M');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user