My Compose Desktop app has the issue that for one ...
# compose
s
My Compose Desktop app has the issue that for one customer no texts are displayed. Everything else is there. I can't reproduce it. I'm using a custom font and the resources are included. Do you have any idea what the issue might be?
Copy code
@Composable
private fun RobotoFontFamily(): FontFamily = FontFamily(
    Font(
        resource = Res.font.roboto_regular_hinted,
        weight = FontWeight.Normal,
        style = FontStyle.Normal
    ),
    Font(
        resource = Res.font.roboto_bold_hinted,
        weight = FontWeight.Bold,
        style = FontStyle.Normal
    ),
    Font(
        resource = Res.font.roboto_italic_hinted,
        weight = FontWeight.Normal,
        style = FontStyle.Italic
    )
)
m
I can only guess the font hasn’t loaded before you’ve rendered the UI. That could be something that’s just too slow on very slow devices. What’s your
loadingStrategy
?