We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fpdf.set_stretching(stretching=100)
Sets the font stretching. Default value 100 (i.e. no stretching).
Note: This function introduced in 1.7.2 development version.
stretcing:
# Arial regular 14 pdf.set_font('Arial') # Set stretching to 50%, narrow text pdf.set_stretching(50.0)
SetFont, SetFontSize.