From f0e0feeeb97ae39850ee6f634c2acce78cd79765 Mon Sep 17 00:00:00 2001 From: stephan Date: Sat, 25 Jul 2026 10:13:15 -0400 Subject: [PATCH] Update dossard PDF layout to refine positioning of number and name boxes. Adjust percentage values for better alignment and centering, enhancing overall layout clarity. Improve comments for better understanding of layout adjustments. Increment version code. --- php/inc_fx_dossard_print.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/php/inc_fx_dossard_print.php b/php/inc_fx_dossard_print.php index d55be31..a740e1f 100644 --- a/php/inc_fx_dossard_print.php +++ b/php/inc_fx_dossard_print.php @@ -183,19 +183,19 @@ function fxDossardPrintLayout() $fltW = $arrSize[0]; $fltH = $arrSize[1]; - // --- Boîte NUMÉRO (grande, rouge) --- + // --- Boîte NUMÉRO (grande) — % page, d'après annotation rouge --- $arrBibPct = array( - 'left' => 0.18, - 'right' => 0.80, - 'top' => 0.34, - 'bottom' => 0.70, + 'left' => 0.20, + 'right' => 0.78, + 'top' => 0.36, + 'bottom' => 0.66, ); - // --- Boîte PRÉNOM (petite, rouge) --- + // --- Boîte PRÉNOM (petite, plus bas, centrée) — PAS collée au n° --- $arrNamePct = array( - 'left' => 0.30, - 'right' => 0.70, - 'top' => 0.74, - 'bottom' => 0.86, + 'left' => 0.32, + 'right' => 0.68, + 'top' => 0.72, + 'bottom' => 0.84, ); $arrBib = fxDossardPrintBoxFromPct($fltW, $fltH, $arrBibPct);