PHP 8.1.28 Released!


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

Imagick::getFontGets font


public 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.


This function has no parameters.

Return Values

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

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top