Manual - Font File
This class allows you to draw text with a desired font.
// To get an example on how to use this class, check barcode classes.
Creates the font with the size
DescriptionCreates the class. The first argument is the path of the .ttf file you want to use. The second argument is the size in point (pt) of the font you want to use.
Gets the dimension of the text
DescriptionGets the width and height in pixel depending on the font and the entered text.Returns is the width,  is the height
$im, $x, $y) — Draws the text on the imageDescription $imageis an image resource.
Draws the text at the position