In Compose, we use AnnotatedString as a replacement for Spanned. However, I cant seem to find a way to replicate the behaviour of RelativeSizeSpan with a SpanStyle.
The relevant options I can see for SpanStyle are:
- fontSize: TextUnit - not useful because this only accepts absolute text sizes, and I need my span style to scale the original font size by some factor
- textGeometricTransform: TextGeometricTransform - not useful because
TextGeometricTransformonly performs X transformations, and I need the text to be scaled in both X and Y.
Can anyone share some insight?
