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.
- Add
Shaping
enum to allow selecting the shaping strategy - Add
Buffer::new_empty
to createBuffer
withoutFontSystem
- Add
BidiParagraphs
iterator - Allow setting
Cursor
color - Allow setting
Editor
cursor - Add
PhysicalGlyph
that allows computingCacheKey
after layout - Add light syntax highlighter to
libcosmic
example
- 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
- Update
fontdb
to 0.14.1 - Replace ouroboros with aliasable
- Use
BidiParagraphs
iterator instead ofstr::Lines
- Update
libcosmic
version
LayoutGlyph
no longer hasx_int
andy_int
, usePhysicalGlyph
instead
FontSystem::new_with_fonts
helper- Alignment and justification
FontSystem::db_mut
provides mutable access tofontdb
databaserustybuzz
is re-exported
- 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
- Use
f32
instead ofi32
for lengths FontSystem
no longer self-referencingSwashCash
no longer keeps reference toFontSystem
Attrs::monospaced
is removed, useFamily::Monospace
instead