When doing g.drawMultiLineText(“4\r4”, /other params/) in the paint function, I get an assert in SimpleShapedText.cpp line 461,
// It this is hit, the typeface can't display one or more characters.
// This normally shouldn't happen if font fallback is enabled.
jassert (unknownGlyph == infos.end());
as if the graphics thinks \r is a printable char. In the end it will output a square.
“4\n4” or “4\r\n4” gives the expected result, a four above another four, with no extra character, which I use to indicating 4/4 rhytm.
No big deal for me, I’ll just use \n instead, but I guess others will find it a bit more annoying…
Windows 11 and vs 2022
