I've encountered myself and via feedback from users that also Oblique styles often fail to detect as "italic" from the PS entries. Expanding on the manual italic detection by extracting the "italic" string from the style name I've added checks for "oblique".
Failing to extract the italic bit causes the "italic"/"oblique" and the roman to be conflated and displayed incorrectly, in addition to a warning about duplicate font warning.
The PR should have no negative impact for fonts with correctly denoted PS table, but also catch some more spotty fonts.
I've encountered myself and via feedback from users that also Oblique styles often fail to detect as "italic" from the PS entries. Expanding on the manual italic detection by extracting the "italic" string from the style name I've added checks for "oblique".
Failing to extract the italic bit causes the "italic"/"oblique" and the roman to be conflated and displayed incorrectly, in addition to a warning about duplicate font warning.
The PR should have no negative impact for fonts with correctly denoted PS table, but also catch some more spotty fonts.