I understand that you can load .ttf type fonts through the interface if you want to use a custom font.
We only have a licenses for .woff web fonts. Is there a way for use to use them? I tried importing them through the stylesheet with no luck.
Thanks in advance.
Rico.
Hi Rodrigo,
Would you like to use your custom font to change your form font family? If you, you can try the following plugins which will help you.
Hi,
Yes, you can use .woff web fonts by importing them through your stylesheet. Ensure you use the correct @font-face
syntax in your CSS to define the font and then apply it to your elements. Here’s an example:
@font-face {
font-family: 'YourCustomFont';
src: url('path/to/your/font.woff') format('woff');
}
body {
font-family: 'YourCustomFont', sans-serif;
}
Make sure the path to your .woff file is correct and accessible.
Thanks
Jake_Jackson
(Jake Jackson (Gravity PDF))
July 28, 2024, 10:30pm
4
@user6182bee79f5b3006 unfortunately not. The PDF engine used by Gravity PDF doesn’t include a .woff font parser.