Skip to content

A free open source IT asset/license management system

add more fonts and adjustments to labels

Godfrey M69da5571ed8c
diff --git a/app/Models/Labels/Tapes/Brother/TZe_24mm_C.php b/app/Models/Labels/Tapes/Brother/TZe_24mm_C.php
index ba24093655..4e0d415cd6 100644
--- a/app/Models/Labels/Tapes/Brother/TZe_24mm_C.php
+++ b/app/Models/Labels/Tapes/Brother/TZe_24mm_C.php
@@ -118,6 +118,7 @@ class TZe_24mm_C extends TZe_24mm
{
return [
'barcode_margin' => $this->getBarcodeMargin(),
+ 'barcode_2d_size' => 12,
'tag_font_size' => $this->getTagSize(),
@@ -133,7 +134,7 @@ class TZe_24mm_C extends TZe_24mm
'field_value_font_size' => $this->getFieldSize(),
'field_value_margin' => $this->getFieldMargin(),
- 'tag_alignment' => 'C',
+ 'tag_alignment' => 'L',
'logo_h_align' => 'R',
'text_render_mode' => 'block',
];
diff --git a/app/Models/Labels/Tapes/Brother/TZe_24mm_D.php b/app/Models/Labels/Tapes/Brother/TZe_24mm_D.php
index e164731c95..46a000d63c 100644
--- a/app/Models/Labels/Tapes/Brother/TZe_24mm_D.php
+++ b/app/Models/Labels/Tapes/Brother/TZe_24mm_D.php
@@ -110,20 +110,26 @@ class TZe_24mm_D extends TZe_24mm
protected function getContentEditorConfig(): array
{
return [
- 'barcode_margin' => $this->getBarcodeMargin(),
+ 'barcode_size' => 3,
+ 'barcode_2d_size' => 11,
+ 'barcode_margin' => .4,
'barcode1D_v_align' => $this->getBarcode1DVAlign(),
'tag_font_size' => $this->getTagSize(),
+ 'tag_font' => 'freemono',
'title_font_size' => $this->getTitleSize(),
'title_margin' => $this->getTitleMargin(),
+ 'title_font' => 'freemono',
'field_label_font_size' => $this->getLabelSize(),
'field_label_margin' => $this->getLabelMargin(),
+ 'field_label_font' => 'freemono',
'field_value_font_size' => $this->getFieldSize(),
'field_value_margin' => $this->getFieldMargin(),
+ 'field_value_font' => 'freemono',
- 'tag_alignment' => 'C',
+ 'tag_alignment' => 'L',
'logo_h_align' => 'R',
'text_render_mode' => 'block',
];
diff --git a/app/Models/Labels/Tapes/Brother/TZe_24mm_E.php b/app/Models/Labels/Tapes/Brother/TZe_24mm_E.php
index 3febed399a..3996505804 100644
--- a/app/Models/Labels/Tapes/Brother/TZe_24mm_E.php
+++ b/app/Models/Labels/Tapes/Brother/TZe_24mm_E.php
@@ -121,17 +121,21 @@ class TZe_24mm_E extends TZe_24mm
'tag_font_size' => $this->getTagSize(),
'title_font_size' => $this->getTitleSize(),
- 'title_margin' => $this->getTitleMargin(),
+ 'title_margin' => .5,
+ 'title_font' => 'freesans',
- 'field_label_font_size' => $this->getLabelSize(),
+ 'field_label_font_size' => 2,
'field_label_margin' => $this->getLabelMargin(),
+ 'field_label_font' => 'freesans',
- 'field_value_font_size' => $this->getFieldSize(),
+ 'field_value_font_size' => 1.8,
'field_value_margin' => -1.85,
+ 'field_value_font' => 'freemono',
'tag_offset_y' => 2.5,
'tag_alignment' => 'L',
'tag_position_mode' => 'under_barcode',
+ 'tag_font' => 'freesans',
'logo_h_align' => 'R',
'text_render_mode' => 'block',
'text_area_offset_y' => 2.0,
diff --git a/app/Models/Labels/Tapes/Dymo/LabelWriter_11354.php b/app/Models/Labels/Tapes/Dymo/LabelWriter_11354.php
index bc9a8ff706..029e1a00ee 100644
--- a/app/Models/Labels/Tapes/Dymo/LabelWriter_11354.php
+++ b/app/Models/Labels/Tapes/Dymo/LabelWriter_11354.php
@@ -121,22 +121,26 @@ class LabelWriter_11354 extends LabelWriter
'barcode_margin' => $this->getBarcodeMargin(),
'barcode1D_v_align' => 'T',
- 'barcode_2d_size' => 20.0,
+ 'barcode_2d_size' => 19.0,
'barcode2D_h_align' => 'L',
'barcode2D_v_align' => 'T',
'tag_font_size' => $this->getTagSize(),
'tag_alignment' => 'C',
'tag_position_mode' => 'under_barcode',
+ 'tag_font' => 'freesans',
- 'title_font_size' => $this->getTitleSize(),
+ 'title_font_size' => 3.8,
'title_margin' => $this->getTitleMargin(),
+ 'title_font' => 'freesans',
'field_label_font_size' => $this->getLabelSize(),
'field_label_margin' => $this->getLabelMargin(),
+ 'field_label_font' => 'freesans',
'field_value_font_size' => $this->getFieldSize(),
'field_value_margin' => $this->getFieldMargin(),
+ 'field_value_font' => 'freemono',
'text_render_mode' => 'block',
];