$imageUseFont
Sets the font type for text rendered on images.
Usage
$imageUseFont[font name]
Available Fonts
You can choose from the following fonts:
- DejaVu Serif
- DejaVu Sans Mono
- DejaVu Sans
- Courier Prime
- Lato
- Montserrat
- Open Sans
- PT Mono
- Quicksand
- Raleway
- Roboto
- Roboto Mono
- Rubik
- Space Mono
- Minecraft
Font Preview
See a preview of these fonts in the image below:
Example
This example creates a 300x300 image, sets the font to "Roboto", the text color to white, the text size to 30, and then writes "Hello World" at position 20x, 50y.