original_string: public function setFont(\ZendPdf\Resource\Font\AbstractFont $font, $fontSize = null)
      {
          if (is_null($fontSize)) {
              $fontSize = $this->getFontSize();
          }
  
          return parent::setFont($font, $fontSize);
      }
code: public function setFont(\ZendPdf\Resource\Font\AbstractFont $font, $fontSize = null)
      {
          if (is_null($fontSize)) {
              $fontSize = $this->getFontSize();
          }
  
          return parent::setFont($font, $fontSize);
      }
code_tokens: public function setFont ( \ ZendPdf \ Resource \ Font \ AbstractFont $ font , $ fontSize = null ) { if ( is_null ( $ fontSize ) ) { $ fontSize = $ this -> getFontSize ( ) ; } return parent :: setFont ( $ font , $ fontSize ) ; }
docstring: Sets a new font family and, optionally, a new font size as well
  
  @param \ZendPdf\Resource\Font\AbstractFont $font font object to use
  @param float $fontSize new font size, leave it out to keep the current font size
docstring_tokens: Sets a new font family and optionally a new font size as well