compose-multiplatform
compose-multiplatform copied to clipboard
`TextStyle#textGeometricTransform` is ignored in Desktop target
Describe the bug
TextStyle#textGeometricTransform is ignored in Desktop target.
Affected platforms
- Desktop
- iOS (@mazunin-v-jb: iOS has this issue too, added here)
Versions
- Kotlin version*: 1.9.20
- Compose Multiplatform version*: 1.5.10 (1.5.11 too)
- OS version(s)* (required for Desktop and iOS issues): Linux
- OS architecture (x86 or arm64): x86
- JDK (for desktop issues): 17
To Reproduce Draw the following view:
BasicText(
text = "Jetpack Compose",
style = TextStyle(
color = Color.Green,
fontSize = 24.sp,
fontFamily = FontFamily.Monospace,
letterSpacing = 4.sp,
textAlign = TextAlign.Center,
shadow = Shadow(
color = Color.Black,
offset = Offset(8f, 8f),
blurRadius = 4f
),
textGeometricTransform = TextGeometricTransform(
scaleX = 2.5f,
skewX = 1f
)
),
modifier = Modifier.width(300.dp)
)
Expected behavior Should look the same on Android and on Desktop
Screenshots
Thank you for submitting the issue! We will take a look.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.