Releases: pop-os/cosmic-text
Releases · pop-os/cosmic-text
0.19.0
Links
Fixed
- Empty lines use span metrics: #479
- Match variable fonts using wght axis: #486
- Used normalized_coords for swash scaler: #488
- Fix highlight for editor: #491
- Optimize shape_until_scroll with large line count: #490
- Fix shape_until_scroll if a buffer_line is modified: #494
- Remove 1px horizontal offset on pixel fonts: #495
- Make the swash feature compile with no_std: #492
- Fallback to a default font in basic shaping mode: #498
- Clamp scroll.line to a valid range: #501
Added
- Text decoration: #480
- Implement layout_runs for BufferLine: #484
- Add cursor_position and is_rtl methods to buffer: #496
Changed
0.18.2
0.18.1
0.18.0
Links
Added
- Support for ellipsizing at the start, middle, and end of a line
0.17.2
Links
Fixed
- Motion::Home and Motion::End operate on unwrapped lines
0.17.1
Links
Fixed
- Set correct rust-version to 1.89
Changed
- Update all dependencies to latest versions
0.17.0
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
Links
Added
- Add
Renderertrait for more flexible rendering of buffers and editors - Make hinting configurable with
Hintingenum
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
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