When using the SVG Converter we highly recommend creating your SVG template with the Inkscape editor (it's a free software available for Linux, Mac, and Windows).

Requirements

  • You need the PHP Imagick extension: if you don't have it please ask your service provider to install it for you.

Adding a Signature

Add the token for the signature field id without the square brackets in a rectangle id. Check this video to see how it is done:

Fonts

In order to be rendered correctly, the font you use in Inkscape needs to be available on the Server too. If it isn't, a generic font will be used instead for the final PDF. For a list of available fonts on the Server create a PHP Raw widget with this code:

foreach( Imagick::queryFonts() as $f ) {
echo '<li>' . $f;
}

You can ask your host provider to add more fonts.

If the text is not very long (for example a title or logo) and does not contain tokens, you can just convert it to a path (from the menu: Path, Object to Path)

Troubleshoot

  • The rendered page is completely blank: this likely means you have an old version of Image Magick, where the SVG conversion was disabled because of an old security policy. Ask your hosting provider to upgrade Image Magick or remove the policy.

Did this answer your question?