https://kotlinlang.org logo
#compose-android
Title
# compose-android
m

Mark

10/31/2023, 11:14 AM
z

Zach Klippenstein (he/him) [MOD]

11/01/2023, 4:43 PM
Nope. Feel free to file a feature request. What are you trying to do?
m

Mark

11/01/2023, 4:52 PM
I’m showing large full width (Chinese) characters (one per Text composable). I’d like to detect whether the glyph is supported by the (user-configured) font so I can show something more useful (e.g. write the hex codepoint in its place) rather than the usual tall empty rectangle.
In the days before
Paint.hasGlyph()
I used to check by drawing the character to a bitmap and comparing with the bitmap of a known codepoint with unsupported glyph!
@Zach Klippenstein (he/him) [MOD] should I file it on the Android issuetracker?
z

Zach Klippenstein (he/him) [MOD]

11/02/2023, 6:25 AM
Yes please