Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.67 KB

CHANGELOG.md

File metadata and controls

63 lines (43 loc) · 1.67 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.9.0] - 2023-07-06

Added

  • Add Shaping enum to allow selecting the shaping strategy
  • Add Buffer::new_empty to create Buffer without FontSystem
  • Add BidiParagraphs iterator
  • Allow setting Cursor color
  • Allow setting Editor cursor
  • Add PhysicalGlyph that allows computing CacheKey after layout
  • Add light syntax highlighter to libcosmic example

Fixed

  • Fix WebAssembly support
  • Fix alignment when not wrapping
  • Fallback to monospaced font if Monospace family is not found
  • Align glyphs in a LayoutRun to baseline

Changed

  • Update fontdb to 0.14.1
  • Replace ouroboros with aliasable
  • Use BidiParagraphs iterator instead of str::Lines
  • Update libcosmic version

Removed

  • LayoutGlyph no longer has x_int and y_int, use PhysicalGlyph instead

[0.8.0] - 2023-04-03

Added

  • FontSystem::new_with_fonts helper
  • Alignment and justification
  • FontSystem::db_mut provides mutable access to fontdb database
  • rustybuzz is re-exported

Fixed

  • Fix some divide by zero panics
  • Redox now uses std FontSystem
  • Layout system improvements
  • BufferLinke::set_text has been made more efficient
  • Fix potential panic on window resize

Changed

  • Use f32 instead of i32 for lengths
  • FontSystem no longer self-referencing
  • SwashCash no longer keeps reference to FontSystem

Removed

  • Attrs::monospaced is removed, use Family::Monospace instead