Alex Styl
10/09/2024, 11:23 AMAlex Styl
10/09/2024, 11:23 AMval Inter = FontFamily(Font(Res.font.Inter))
val ContentColor = Color.Black.copy(0.8f)
val Body = TextStyle.Default.copy(
color = ContentColor,
fontSize = 14.sp,
fontWeight = FontWeight.Normal,
fontFamily = Inter
)
Alex Styl
10/09/2024, 11:24 AMAlex Styl
10/09/2024, 12:05 PMAlex Styl
10/09/2024, 12:05 PMMichael Paus
10/09/2024, 1:23 PMAlex Styl
10/09/2024, 2:01 PMAlbert Chang
10/10/2024, 2:11 AMthe text rendered in web should match how it is rendered on html, no?If you use Compose HTML, then yes. If you use Compose for Web (WASM), the rendering is done by Skia instead of the browser, so no.
Alex Styl
10/10/2024, 3:38 AMAlex Styl
10/10/2024, 3:42 AMAlex Styl
10/10/2024, 4:24 AMthe rendering is done by Skia instead of the browser, so no.@Albert Chang if the rendering is done by skia, I understand that it should be rendered the same on desktop and web (even if it is different than on HTML). is that wrong?
Albert Chang
10/10/2024, 4:28 AM