diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index d9aec3c..418708e 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -538,7 +538,7 @@ export function CustomFormBuilder() { } doc.setFontSize(fontSize); - const lineH = fontSize * 1.4; + const lineH = fontSize * lineHeight; // Group runs into visual lines (split where applied text contains "\n"). const runsToLines = (runs: InlineRun[]): InlineRun[][] => {