JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.42k stars 1.12k forks source link

[Wasm] Variable fonts are displayed as ����� #4635

Open Nek-12 opened 2 months ago

Nek-12 commented 2 months ago

Describe the bug

Variable fonts seem to not be supported on compose/wasmJs

Platform:

Versions

To Reproduce Steps and/or the code snippet to reproduce the behavior: Use a variable-width font, such as Comfortaa

Expected behavior Font is displayed

Screenshots

Untitled 2

terrakok commented 2 months ago

duplicates https://github.com/JetBrains/compose-multiplatform/issues/3051

Nek-12 commented 2 months ago

How is this a duplicate if the issue is that variable fonts are not supported (not emoji, not non-english characters and not font styles)?

terrakok commented 2 months ago

The issue is the same.

eymar commented 2 months ago

Sorry, my bad that the issue was marked as "duplicate". I looked at it yesterday not thoroughly enough. There's no such problem reported yet. Thank you!