protected function billetSetFont($font)
    {
        $f = static::FONTS[$font];
        $this->SetFont($f[0], $f[1], $f[2]);
        if (count($f) > 3) {
            $this->SetTextColor(...$f[3]);
        }
    }
protected function billetSetFont($font)
    {
        $f = static::FONTS[$font];
        $this->SetFont($f[0], $f[1], $f[2]);
        if (count($f) > 3) {
            $this->SetTextColor(...$f[3]);
        }
    }
protected function billetSetFont ( $ font ) { $ f = static :: FONTS [ $ font ] ; $ this -> SetFont ( $ f [ 0 ] , $ f [ 1 ] , $ f [ 2 ] ) ; if ( count ( $ f ) > 3 ) { $ this -> SetTextColor ( ... $ f [ 3 ] ) ; } }
Allows an easy way to set current font

@param string $font Key for FONTS
Allows an easy way to set current font