Is this fix planned for a future beta release or s...
# compose
r
Is this fix planned for a future beta release or should it already be in beta 2? Because emojis still don't work on web on beta 2: https://github.com/JetBrains/compose-multiplatform/issues/3051#issuecomment-2220489941
c
you are following the example usage from the PR. right?
Copy code
val fontFamilyResolver = LocalFontFamilyResolver.current

...

LaunchedEffect(Unit) {
      val notoEmojisBytes = loadEmojisFontAsBytes() // loadRes(notoColorEmoji).toByteArray()
      val fontFamily = FontFamily(listOf(Font("NotoColorEmoji", notoEmojisBytes)))
      fontFamilyResolver.preload(fontFamily)
      fontsLoaded.value = true
}
r
No, I thought it was supposed to work out of the box in a regular text, without any font preloading or setting. Because it is unclear to me if this is treated by a bug by JB on web or not (it sure seems like to me).