Traversing all text on the page does not result in the font being italicized. The PDF file contains italicized text,
TextFragmentAbsorber textFragmentAbsorber = new TextFragmentAbsorber();
page.Accept(textFragmentAbsorber);
foreach (TextFragment textFragment in textFragments){
TextFragment. TextState. FontStyle (Unable to obtain italics, FontStyles. Italic)
}
@78783718
Can you please share the sample PDF as well so that we can test the scenario in our environment and address it accordingly.
demo.pdf (3.5 KB)
This is a simple PDF with bold and italic fonts added. Currently, only bold fonts are recognized
@78783718
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): PDFNET-57624
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.