original_string: public function setFontType(string $fontname = null): PdfInterface
      {
          /**
           * Font sets to be used for PDF documents:
           *
           *   - Arial           - Times             - Tahoma
           *   - Georgia         - Trebuchet         - Courier
           *   - Lucida          - Lucida-Bright     - Palatino
           *   - Garamond        - Verdana           - Console
           *   - Monaco          - Helvetica         - Calibri
           *   - Avant-Garde     - Cambria
           */
          $this->setProperty('fontType', $this->getFontFamily(strtolower($fontname)));
          $this->mpdf->SetDefaultBodyCSS('font-family', $this->getProperty('fontType'));
  
          return $this;
      }
code: public function setFontType(string $fontname = null): PdfInterface
      {
          /**
           * Font sets to be used for PDF documents:
           *
           *   - Arial           - Times             - Tahoma
           *   - Georgia         - Trebuchet         - Courier
           *   - Lucida          - Lucida-Bright     - Palatino
           *   - Garamond        - Verdana           - Console
           *   - Monaco          - Helvetica         - Calibri
           *   - Avant-Garde     - Cambria
           */
          $this->setProperty('fontType', $this->getFontFamily(strtolower($fontname)));
          $this->mpdf->SetDefaultBodyCSS('font-family', $this->getProperty('fontType'));
  
          return $this;
      }
code_tokens: public function setFontType ( string $ fontname = null ) : PdfInterface { /**
           * Font sets to be used for PDF documents:
           *
           *   - Arial           - Times             - Tahoma
           *   - Georgia         - Trebuchet         - Courier
           *   - Lucida          - Lucida-Bright     - Palatino
           *   - Garamond        - Verdana           - Console
           *   - Monaco          - Helvetica         - Calibri
           *   - Avant-Garde     - Cambria
           */ $ this -> setProperty ( 'fontType' , $ this -> getFontFamily ( strtolower ( $ fontname ) ) ) ; $ this -> mpdf -> SetDefaultBodyCSS ( 'font-family' , $ this -> getProperty ( 'fontType' ) ) ; return $ this ; }
docstring: Set the default document font.
  
  @param string $fontname The font name ('Times','Helvetica','Courier')
  
  @return PdfInterface The current instance
  
  @api
docstring_tokens: Set the default document font .