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
16.21k stars 1.17k forks source link

Can't enable subpixel antialias in linux #2358

Closed yuulf closed 1 month ago

yuulf commented 2 years ago

Rendered fonts in compose seems to use only grayscale antialias on my system (compose 1.2.0-beta01, openSUSE Leap 15.3, java 11). Somehow this problem is similar to https://github.com/JetBrains/compose-jb/issues/875, but even even if i run this example https://github.com/JetBrains/compose-jb/issues/875#issuecomment-900322796 it has only grayscale antialias. Is there a problem with my setup or the mentioned issue in skia?

igordmn commented 2 years ago

875 is only about Windows.

For Linux we should add a separate fix. Skia/Skiko doesn't read the system text properties at the moment

yuulf commented 2 years ago

Thank you, looking forward to it.

imherrera commented 1 year ago

Any update on this?

okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.