Annotation decoration not applied when importing xfdf

Hi,

I am trying to import XFDF using PDFAnnotationEditor#importAnnotationsFromXfdf. The xfdf file contains one freetext annotation decorated with bold, italic, underline, strike through. However, after saving as pdf file and opening pdf file with chrome or acrobat reader, the decorations disappear.

Maybe there’s something wrong with our XFDF?
I attached the xfdf file I am trying to import.

Kind regards,
hiraki
toImport.zip (764 バイト)

@hiraki.uk

Please check the attached output PDF that we generated in our environment using 24.3 version.
output.24.3.pdf (78.3 KB)

Please share the screenshot if you find any issues in it.

Hi,

Thank you. However, your output should have bold, italic, underline and strike through but it doesn’t.
Are they not supported?
output-in-chrome.png (47.5 KB)
output-in-acrobat-reader.png (74.0 KB)

Kind regards,
hiraki

@hiraki.uk

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-43769

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.