Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::getFilenameImagick::getFormat>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::getFont

(PECL imagick 2 >= 2.1.0, PECL imagick 3)

Imagick::getFont — Gets font

Description

public function Imagick::getFont(): string

Returns the objects font property. This method is available if Imagick has been compiled against ImageMagick version 6.3.7 or newer.

Parameters

This function has no parameters.

Return Values

Returns the string containing the font name or false if not font is set.

See Also


<Imagick::getFilenameImagick::getFormat>
^ImagickLast updated: Mon, 26 Oct 2026