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.
There was an error while loading. Please reload this page.