InlineContent is not supposed to have its own ParagraphStyle. That kind of workaround makes the content essentially "non-inline". Each inline content composable gets its own Paragraph. Instead, we should address the root of the problem which stems from the fact that default Material3 theming adds LineHeight by default.
Sample project now uses Material3 and overrides the default LineHeight to TextUnit.Unspecified in its theming. Inline content strictly respecting the line height argument should be addressed by the Compose team.
InlineContent is not supposed to have its own ParagraphStyle. That kind of workaround makes the content essentially "non-inline". Each inline content composable gets its own Paragraph. Instead, we should address the root of the problem which stems from the fact that default Material3 theming adds LineHeight by default.
Sample project now uses Material3 and overrides the default LineHeight to
TextUnit.Unspecified
in its theming. Inline content strictly respecting the line height argument should be addressed by the Compose team.