Skip to content

Releases: pop-os/cosmic-text

0.18.2

20 Feb 22:46

Choose a tag to compare

0.18.1

20 Feb 19:18

Choose a tag to compare

Links

Fixed

  • Fix aggressive ellipsizing

0.18.0

19 Feb 16:32

Choose a tag to compare

Links

Added

  • Support for ellipsizing at the start, middle, and end of a line

0.17.2

18 Feb 22:42

Choose a tag to compare

Links

Fixed

  • Motion::Home and Motion::End operate on unwrapped lines

0.17.1

30 Jan 22:59
ae8f1c0

Choose a tag to compare

Links

Fixed

  • Set correct rust-version to 1.89

Changed

  • Update all dependencies to latest versions

0.17.0

29 Jan 16:49
bdd6657

Choose a tag to compare

Links

Fixed

  • Fix variable font weight for SwashCache::get_outline_commands()
  • Allow fallback to fonts with mismatched stretch or style
  • Shape as fake italic if no matching italic font exists
  • Prevent line break opportunities from splitting ligatures

Changed

  • Update all dependencies to latest versions

Removed

  • Attrs::matches was removed as it is not compatible with new fallback logic

0.16.0

29 Dec 21:28
0d9af4f

Choose a tag to compare

Links

Added

  • Add Renderer trait for more flexible rendering of buffers and editors
  • Make hinting configurable with Hinting enum

Fixed

  • Fix bench compilation
  • Round x_advance to nearest monospace width when requested
  • Do not use ASCII fast path when a word has incompatible spans

Changed

  • Update harfrust to 0.4.1
  • Update skrifa to 0.39.0

0.15.0

30 Oct 14:42
c82ee1c

Choose a tag to compare

Links

Added

  • Add DISABLE_HINTING cache flag
  • Variable font support
  • Add pixel font flag
  • Add ASCII fast path optimization to ShapeWord::build
  • Optimize BidiParagraphs with ASCII fast path
  • Add explicit lifetimes to borrowed return types
  • Implement pixel-based scrolling for the Editor
  • Add alignment paramater to set_text

Fixed

  • Clip based on ascent and descent, not baseline
  • Fix scroll when vertical offset is exactly layout_height
  • Do not ignore font family
  • Transform outline if fake italic provided
  • Fixed Tab indenting the line instead of adding Tab or spaces
  • Update and fix cargo-deny
  • Fix UDHR link
  • If buffer is empty, do not set line ending
  • Better handling of newlines in editor insert and delete
  • Improve handling of non-existant files in load_text
  • Fix delete ranges removing interior newlines

Changed

  • fontdb updated to 0.23
  • Replace rustybuzz with HarfRust
  • Use linebender_resource_handle instead of peniko
  • Upgrade skrifa to 0.37

0.14.2

14 Apr 14:58
9e7a56f

Choose a tag to compare

Links

Fixed

  • Ensure MSRV of 1.75.0

0.14.1

04 Apr 17:54
87a9370

Choose a tag to compare

Links

Added

  • Allow font to be stored as peniko::Font with peniko feature