Use custom fonts in groupdocs watermark

Hi,
I was evaluating watermark SDK for java and facing FontNotFoundException when a custom font family is used to apply watermark to pdf. What is the way to use custom font when applying text watermark?

1 Like

@shiva.k

This scenario is under investigation with ticket ID WATERMARKJAVA-104. You’ll be notified in case of any update.

Hi is there any progress to this issue?

@shiva.k

This exception occurs when the specific font isn’t installed on the system (for example, misspelling occurs in the font name). See the example of using font property.
If this doesn’t help, please provide the additional information about the environment: OS (name, version and language), version of GroupDocs.Watermark, font name.

Hi these are my system details.
OS: Windows 11 Pro
JDK: 17.0.9
Font: Roboto Regular
Roboto-Regular.zip (87.2 KB)
Language: English
Groupdocs.Watermark: 20.5

I have installed the Roboto font in my system but still I am getting FontNotFoundException.
image.png (46.2 KB)

1 Like

@shiva.k

Thanks for the details. We’ll continue investigation and notify you in case of any update.