• Resolved partiallypro

    (@partiallypro)


    Is there a way to perhaps add a class to a form field and have it show up in a different font in the PDF?

    Basically I have a client that wants a simulated signature option, so the rest of the PDF needs to be the basic font, but this signature field would output a script font.

    • This topic was modified 5 years, 8 months ago by partiallypro.
Viewing 1 replies (of 1 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Sure. That is certainly possible.

    If using one of the Core templates, this is the simplest way to set it up:

    1. Install the custom font you want to use.

    2. Implement the gfpdf_core_template action and add an appropriate class which sets up your font.

    3. Add the class to your field in the Form Editor.

    You may find you need to cascade your CSS to get it working correctly. .class .value would be the way to go there.

Viewing 1 replies (of 1 total)
  • The topic ‘Different font for different form fields’ is closed to new replies.