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.
Font.name()
via AcrylicShrimp #141
- Incorrect attribute configuration for not_std web builds
- Flag to conditionally use std hashmap over
hashbrown
- Update
ttf-parser
to 0.21 - Update
rayon
to 1.10
Font.has_glyph()
for convenience.
- The 0.7.4 breaks semver by adding a field to FontSettings. 0.7.4 is yanked and republished as 0.8.0
- Support Loading Ligature & Substitution Glyphs.
- Update
ttf-parser
to 0.20 - Update
hashbrown
to 0.14
- Fixed a potential unaligned read on x86.
- Expose layout settings on
Layout
- Add a line height option to LayoutSettings
- Relicense to MIT OR Apache-2.0 OR Zlib
- Update
hashbrown
to 0.13 - Refactored development related artifacts into the
dev
folder. This reduces pollution in the main crate. - Removed some needless unsafe, documented other uses.
- More doc typos.
- Added
byte_offset
to GlyphPosition
- Breaking - Renamed
line_start
/line_end
toglyph_start
/glyph_end
- More doc typos.
line_start
/glyph_start
skipping spacing characters.
ttf-parser
updated to 0.15
LinePosition
doc typo.- Benign compiler error in debug mode in layout.
- A changelog.
simd
flag, enabled by default. Leverages simd functions. This was implicitly always enabled prior.parallel
flag, disabled by default. Usesstd
+rayon
to thread font loading.Font.chars()
gets all valid unicode codepoints that have mappings to glyph geometry in the font.LinePosition
holds various metadata on positioned lines computed during layout.
Layout.lines()
returns aOption<Vec<LinePosition>>
now instead of a line count.