Still having fun trying to display non latin text and I've encountered an issue which happens on OSX and Windows.
If I load a TTF font using createSystemTypefaceFor and use it with TextLayout, it nevers fallback to other fonts if the glyph is not available.
On Windows, it's probably related to the fact that createSystemTypefaceFor (const void* data, size_t dataSize) don't have the implementation
using DirectWrite and fallback font only works in that case. See TextLayout::createNativeLayout and canAllTypefacesBeUsedInLayout returning false.
On Mac, there is a comment line 1300 in juce_mac_fonts.mm
// Seems to be an unfathomable bug in CoreText which prevents the layout working with
// typefaces that were loaded from memory, so have to fallback if we hit any of those.
So my questions are,
1) Is this possible to implement on Windows ?
2) Regarding OSX, did it only happened on some versions of OSX ?
Could you share more info on the issue ?