From b2f3e7a0bb9902c11725e2cb7ee5b3f4e79c6ea5 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Wed, 26 Nov 2025 19:28:51 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20Corregir=20espaciado=20de=20l=C3=ADneas?= =?UTF-8?q?=20con=20doble=20altura?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remover padding-bottom y margin-bottom de líneas con doble altura - El espaciado entre líneas ahora es constante como en la impresora real - Solo el texto crece, el avance de línea permanece igual --- app/components/preview/PaperSimulator.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/preview/PaperSimulator.vue b/app/components/preview/PaperSimulator.vue index 4f8457c..c1ad2e8 100644 --- a/app/components/preview/PaperSimulator.vue +++ b/app/components/preview/PaperSimulator.vue @@ -149,11 +149,13 @@ function handleVariableClick(segment: TextSegment) { /* Font B con doble alto */ .line-content.font-b.text-double-height { transform: scaleX(0.825) scaleY(2); + transform-origin: top left; } /* Font B con doble ancho Y alto */ .line-content.font-b.text-double-width.text-double-height { transform: scale(1.65, 2); + transform-origin: top left; } /* Línea vacía (feed) */ @@ -169,15 +171,13 @@ function handleVariableClick(segment: TextSegment) { /* Doble alto - escalar verticalmente (Font A) */ .line-content.text-double-height { transform: scaleY(2); - line-height: 1.4; - padding-bottom: 1.4em; + transform-origin: top; } /* Doble ancho Y alto combinados (Font A) */ .line-content.text-double-width.text-double-height { transform: scale(2, 2); - padding-bottom: 1.4em; - margin-bottom: 0.5em; + transform-origin: top left; } /* Línea que excede el límite */