0.8.0
This commit is contained in:
parent
f2445987fb
commit
3224daa66f
2 changed files with 34 additions and 1 deletions
33
CHANGELOG.md
Normal file
33
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [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
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "cosmic-text"
|
name = "cosmic-text"
|
||||||
description = "Pure Rust multi-line text handling"
|
description = "Pure Rust multi-line text handling"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue