iwfm.pdf_setfont

iwfm.pdf_setfont(pdf, font='Arial', style='B', size=20)[source]

Set the font for a PDF instance.

Parameters:
  • pdf (PDF object) – PDF object to be modified

  • font (str, default='Ariel') – font name

  • style (str, default='B') – font style

  • size (int, default=20) – font size in points

Returns:

pdf – modified PDF object

Return type:

PDF object