# Small Juce 8 text bug

**URL:** <https://forum.juce.com/t/small-juce-8-text-bug/61751>\
**Category:** General JUCE discussion\
**Created:** [June 7, 2024, 10:15pm UTC](https://forum.juce.com/t/small-juce-8-text-bug/61751 "2024-06-07T22:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxxyyd](https://avatars.discourse-cdn.com/v4/letter/o/e47c2d/32.png) [@oxxyyd](https://forum.juce.com/u/oxxyyd)\
**Post date:** [June 7, 2024, 10:15pm UTC](https://forum.juce.com/t/small-juce-8-text-bug/61751/1 "2024-06-07T22:15:20Z")

</div>

When doing g.drawMultiLineText(“4\r4”, /_other params_/) in the paint function, I get an assert in SimpleShapedText.cpp line 461,

```auto
// 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
