Both Juce demo runner and the Juce API can't display some italic fonts

We encountered a problem where some fonts can’t be displayed as italic. Additionally, if a font was bold before attempting to make it italic, it becomes corrupted.

I tested on
Windows 11 Pro|23H2|22631.3447|Windows Feature Experience Pack 1000.22688.1000.0|
and latest juce demo runner

On my Windows system, the font you show doesn’t include an italic variant. On JUCE 7, the best way to ensure that text can be rendered in italic is to select a font family that includes an italic variant.

There have been lots of changes to text rendering in JUCE 8. Now, on all platforms, italic fonts will be simulated when there is no hard-coded italic variant. We’re still working on updates to the TextEditor, so the FontsDemo will not be completely bug-free on the juce8 branch, but you should at least be able to check whether fonts display in the way you’d expect.

What do you mean by ‘corrupted’?

I meant it to display at least in bold if bold italic is not available, but it displays neither bold nor italic. It was bold before I attempted to make it bold italic.