PMA\libraries\plugins\schema\eps\Eps::setFont PHP Метод

setFont() публичный Метод

font can be set whenever needed in EPS
public setFont ( string $value, integer $size ) : void
$value string sets the font name e.g Arial
$size integer sets the size of the font e.g 10
Результат void
    public function setFont($value, $size)
    {
        $this->font = $value;
        $this->fontSize = $size;
        $this->stringCommands .= "/" . $value . " findfont   % Get the basic font\n";
        $this->stringCommands .= "" . $size . " scalefont            % Scale the font to {$size} points\n";
        $this->stringCommands .= "setfont                 % Make it the current font\n";
    }