magick
Name
magic.raku - Demonstrate MagickWand rendering using Font::FreeType
Synopsis
magick.raku --text="Text" --shape font-file output-image
Example
magic.raku --text="Raku" t/fonts/DejaVuSans.ttf out.png
Description
This Raku example script demonstrates `MagickWand` rendering of fonts using `Font::FreeType`.
`MagickWand` supports a wide range of image formats; which is determined from the extension of the output file.
The `--shape` option further demonstrates the use of `HarfBuzz` and `HarfBuzz::Font::FreeType` for glyph selection and layout. These modules need to be installed prior to using this option.