if you want to add an annot with Italic and underline, the library doesn't support that.
If you want to first add the text to the pdf (using the premium license features) you can use NewFontCID(java.lang.String font_name, int style) that creates a font object, used to write texts.
Then add the annotation to that text.
The topic has been locked.
Add text with Italic and underline
6 years 5 months ago #7556