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.

This commit is contained in:
2026-07-25 10:13:15 -04:00
parent 762b31083e
commit f0e0feeeb9

View File

@ -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);