Support for Dynamic System Font Resolution without Manual Path Mapping (Android)
Currently, when rendering dynamic text in Rive without embedding fonts in the .riv file, we must use an AssetLoader (or FontDelegate) to provide font data. This requires providing a direct path to a font file or a specific ByteBuffer. This is a dangerous approach because if the font fails to load, the text becomes completely invisible.
On Android 10+, while we can use SystemFonts.getAvailableFonts() to retrieve a set of system fonts, this API does not expose the "priority" or "primary" status of fonts within the OS fallback chain. This makes it extremely difficult to determine which font should be used for a specific locale (e.g., Japanese CJK vs. Hentaigana) without brittle workarounds or manual mapping of locales to font paths.
Reference: This request is related to the discussions in the below rive-android issue. https://github.com/rive-app/rive-android/issues/416