I’m working on an Android application with Jetpack Compose and running into a frustrating issue with text rendering.
My design team created mockups in Figma with specific typography settings. I’ve been trying to match these designs exactly by using the same font family, size, and spacing values in my Compose Text components. However, when I compare the actual app output side by side with the Figma designs, the letter spacing appears different even though I’m using identical parameters.
For example, I set letterSpacing to 0.sp in my Text composable, which should match the 0px letter spacing from Figma, but the characters still look more spaced out in the app.
Has anyone encountered this rendering inconsistency before? What’s causing this difference between Figma’s text display and Compose’s text rendering? Are there any workarounds or adjustments I can make to achieve exact visual parity with the design files?