Android Text Localization

Supporting text symbols of multiple languages does not work out of the box. It seems the recommendation is to load assets manually:

Loading Assets - Rive

However we are running into issues even when attempting to do this.

Compose font integration for multiple languages · Issue #416 · rive-app/rive-android

One other specific example where we run into issues. On a Pixel 9 Pro I am attempting to Japenese fonts. The code loads 12 fonts (NotoSansCJK + NotoSerifCJK + NotoSerifHentaigana). NotoSerifHentaigana seems to interfere with Rive's glyph selection logic, and the japenese symbols fail to load. If I filter the NotoSerifHentaigana font, it works.

Also, I cannot find an in-code mechanism to determine if symbols are failing to load. The failures would have to be user-reported. So it is hard for us to determine which languages are supported by our system font selection system.

Can Rive offer a solution that gives us trust that text will work for all languages available on android devices? It seem iOS has a solution that works for this. We want a simple api that allows us to have support for the device languages (regular android textviews work without building locale→font mappings)