Releases: romainguy/combo-breaker
Releases · romainguy/combo-breaker
v0.9.0
v0.8.0
- Removed
Bitmap.toPath
/Bitmap.toPaths
- Removed
Path.divide
- Those APIs are now available in pathway v0.9.0 instead
v0.7.0
v0.6.0
- New
flowShapes()
modifiers can be used to specify aList<Path>
for the children ofTextFlow
.
This allows text to flow around multiple shapes for a single element. - Add new
Path.divide()
API to create aList<Path>
from a singlePath
by extracting its contours. - Fixed an issue with the ordering of text segments when multiple shapes were present on a single line.
v0.5.0
v0.4.0
- Removed dependency on
androidx.compose.material3
dev.romainguy.combobreaker.TextFlow
is nowdev.romainguy.combobreaker.BasicTextFlow
- Introduced new artifact
combo-breaker-material3
containingdev.romainguy.combobreaker.material3.TextFlow
TextFlow
usesLocalTextStyle.current
as the defaulttextStyle
,BaiscTextFlow
requires aTextStyle
to be specified
v0.3.0
- Added support for multiple text styles.
TextFlow
now acceptsString
orAnnotatedString
.
Warning
Multi-style support currently suffers from a known limitation: if a paragraph contains multiple
text styles with different line heights, text may not be laid out properly with certain shapes.
This is a known issue that will be addressed in a future release.