03-08-2025, 10:14 AM
Is there a way to auto justify both left and right?
Basically I'm printing 4 lines of text full width on a landscape A4. If I print to screen or printer because the standard font (I assume) uses equal space for all letters all four lines start and end in the same column. I'm assuming the PDF uses different spacing for different size letters (so I would take up less space than O for example) so the right column is jagged. Could
pdfSetCharacterSpacing or SUB pdfSetWordSpacing somehow be used or is there a simple way around this that I can't think of?
Basically I'm printing 4 lines of text full width on a landscape A4. If I print to screen or printer because the standard font (I assume) uses equal space for all letters all four lines start and end in the same column. I'm assuming the PDF uses different spacing for different size letters (so I would take up less space than O for example) so the right column is jagged. Could
pdfSetCharacterSpacing or SUB pdfSetWordSpacing somehow be used or is there a simple way around this that I can't think of?
Oh look. A sig line :-)