Hi Jesus,
We extracted the font style information from the font dictionary, specifically from the base font name details. However, font styles in PDF documents can be applied in different ways. For example, to achieve a bold style for a font that does not have a native bold variant, the bold effect is often applied using the text rendering mode defined in the page content graphics. Similarly, italic style can be simulated by skewing the text, and underline style is typically applied at the content graphics level. Due to these variations, we are unable to reliably extract font style information in certain scenarios based solely on the font dictionary.
Regards,
Irfana J.