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

Member04/04/2025
!!exec $imageCreate[300;300]
$imageUseFont[Roboto]
$imageTextColor[white]
$imageTextSize[30]
$imageTextFill[Hello World;20;50]
$stop[{image:$imageOutput}]
Custom Command Bot 04/04/2025