[JUCE 8][BUG] Font fallback does not support properly Unicode character

Hi!
First of all, congratulation for the amount of work put into JUCE 8 and in particular for the new font renderer that looks very promising :slight_smile:
I needed support for emojis since a long time know, glad too see it’s finally a thing, but unfortunately there’s a bug with it currently :confused:
If I choose the supported emoji font for my platform (as written here) in a TextEditor then I get the proper display and each character takes up the right amount of space when highlighting. But if I use another font and let the code fallback to the emoji font, then while it still displays the emoji, the selection is totally wrong.
Furthermore, if I add non-latin characters such as kanjis or arabic letters, their placement is often akward (depends on the alphabet) and the highlighting is even more broken. In this case too, simply using a font that has the said character (like Noto) works normally.
I added some captures of the demo runner for further details :



Best regards,
ZeCroque

Thanks we’re aware of some of shortcomings in the TextEditor and work is in progress but due to some other recent work it’s just been put on hold, we’ll pick this up again soon and keep you posted.

Thanks.