it was necessary to remove the MaterialTheme since they constraint the line height to a proper font style, since we dynamically decide on the font size and possibly custom font height, using MaterialTheme as our overall theme is no longer an option.
Pending to figure out if there is a way to minimize the differences in text display from the material theme and the standard theme.
Migrating from compose 1.5 to 1.6
it was necessary to remove the MaterialTheme since they constraint the line height to a proper font style, since we dynamically decide on the font size and possibly custom font height, using MaterialTheme as our overall theme is no longer an option.