Skip to content

Releases: romainguy/combo-breaker

v0.9.0

13 Dec 02:17
Compare
Choose a tag to compare
  • Update Kotlin and other dependencies
  • Smaller binary size with latest pathway

v0.8.0

02 Dec 01:21
Compare
Choose a tag to compare
  • Removed Bitmap.toPath/Bitmap.toPaths
  • Removed Path.divide
  • Those APIs are now available in pathway v0.9.0 instead

v0.7.0

30 Nov 18:54
Compare
Choose a tag to compare
  • Renamed Bitmap.toContour to Bitmap.toPath
  • Introduced Bitmap.toPaths to create a List<Path> from a Bitmap, making Path.divide less useful
  • Bitmap.toPath[s] and Path.divide will likely move to the pathway library in the future

v0.6.0

30 Nov 02:29
Compare
Choose a tag to compare
  • New flowShapes() modifiers can be used to specify a List<Path> for the children of TextFlow.
    This allows text to flow around multiple shapes for a single element.
  • Add new Path.divide() API to create a List<Path> from a single Path 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

29 Nov 01:31
Compare
Choose a tag to compare
  • Remove a large number of allocations during the layout phase
  • Optimizations when building flow shape contours from a Path

v0.4.0

24 Nov 20:34
Compare
Choose a tag to compare
  • Removed dependency on androidx.compose.material3
  • dev.romainguy.combobreaker.TextFlow is now dev.romainguy.combobreaker.BasicTextFlow
  • Introduced new artifact combo-breaker-material3 containing dev.romainguy.combobreaker.material3.TextFlow
  • TextFlow uses LocalTextStyle.current as the default textStyle, BaiscTextFlow requires a TextStyle to be specified

v0.3.0

24 Nov 00:33
Compare
Choose a tag to compare
  • Added support for multiple text styles.
  • TextFlow now accepts String or AnnotatedString.

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.

v0.2.0

19 Nov 22:51
Compare
Choose a tag to compare
  • Improved performance by 20%
  • Demo UI improvements:
    • Proper dark mode support
    • Improved default theme
    • Re-organized UI code
    • Top app bar
    • New app icon

v0.1.1

19 Nov 00:37
Compare
Choose a tag to compare
  • Optimized the path simplification step when extracting contours from a bitmap.
  • Made contour extraction more robust with better handling of opaque pixels at the edges.

v0.1.0

17 Nov 22:52
Compare
Choose a tag to compare

Initial release of Combo Breaker:

  • Flow text around arbitrary shapes
  • Multiple columns
  • Hyphenation
  • Justification
  • RTL layouts support
  • Extract shapes from bitmaps