Hi,
On latest develop & macOS, font rendering seems wrong when using TextEditor and custom, Look-and-feel-set font:
- new PIP from Projucer; open in Xcode
- in
MainWindow::MainWindow()addgetLookAndFeel().setDefaultSansSerifTypefaceName("Arial"); - in
MyComponent, add aTextEditorand set some multiline text in it. - compare font rendering to simply
Graphics::drawMultiLineText:
There are two problems in the TextEditor:
- kerning is wrong
- there is a spurious character (
À) at the end of the line, that disappear when I select this part of the text.
These problems disappear if I call:
textEditor_.setFont(FontOptions("Arial", 14, 0));
before setting the text.
Cheers!

