Home > PHP > Function > GD > imagepsloadfont()

imagepsloadfont()

imagepsloadfont - Load a PostScript Type 1 font from file

Syntax

resource imagepsloadfont (string $filename)

Arguments

  • filename - Path to the Postscript font file.

Description

Load a PostScript Type 1 font from the given filename.

Version

PHP 4, 5

Return value

In the case everything went right, a valid font index will be returned and can be used for further purposes. Otherwise the function returns FALSE.