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.
- Update
hashbrownto 0.15 #157
Font.name()via AcrylicShrimp #141
- Incorrect attribute configuration for not_std web builds
- Flag to conditionally use std hashmap over
hashbrown
- Update
ttf-parserto 0.21 - Update
rayonto 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-parserto 0.20 - Update
hashbrownto 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
hashbrownto 0.13 - Refactored development related artifacts into the
devfolder. This reduces pollution in the main crate. - Removed some needless unsafe, documented other uses.
- More doc typos.
- Added
byte_offsetto GlyphPosition
- Breaking - Renamed
line_start/line_endtoglyph_start/glyph_end
- More doc typos.
line_start/glyph_startskipping spacing characters.
ttf-parserupdated to 0.15
LinePositiondoc typo.- Benign compiler error in debug mode in layout.
- A changelog.
simdflag, enabled by default. Leverages simd functions. This was implicitly always enabled prior.parallelflag, disabled by default. Usesstd+rayonto thread font loading.Font.chars()gets all valid unicode codepoints that have mappings to glyph geometry in the font.LinePositionholds various metadata on positioned lines computed during layout.
Layout.lines()returns aOption<Vec<LinePosition>>now instead of a line count.