TextEditor not rendering styles in Linux

Linux on the left, Windows on the right, same code, everything looks correct except Linux is not rendering bold, italic and underlined and is not changing the font where it’s supposed to be Times New Roman.

Juce version 6.0.5, Linux is Ubuntu Studio 20.04
The full project can be found here.

Any clue?