Releases: alexheretic/glyph-brush
Releases · alexheretic/glyph-brush
gfx-glyph-0.13.2
- Optimise vertex updating by declaring 'Dynamic' usage & using explicit update calls.
- Add
GlyphBrush::queue_pre_positioned
and example pre_positioned. - Add
SectionGeometry
,GlyphPositioner
to glyph_brush re-exported types. - Update glyph_brush ->
0.3
.
With the glyph_brush update it may be possible that some usage is broken, however I think it unlikely enough to make this a non-breaking release. Please get into contact if this breaks your usage.
glyph-brush-layout-0.1.3
- Implement
FontMap
forAsRef<[Font]>
instead ofIndex<usize, Output = Font>
to support arrays and slices. If this breaks your usage try implementingFontMap
directly.
This is technically a breaking change, however I don't think anyone will be affected. Please let me know otherwise.
glyph-brush-0.2.4
- Add
GlyphBrush::keep_cached
.
gfx-glyph-0.13.1
- Add
GlyphBrush::keep_cached
.
glyph-brush-0.2.3
- Use hashbrown map & sets improves some benchmarks by 1-4%.
glyph-brush-0.2.2
- Add
GlyphCalculator::fonts
&GlyphCalculatorGuard::fonts
methods.
glyph-brush-0.2.1
- Fix on-off single section cache clearing.
- Fix double initial draw.
glyph-brush-layout-0.1.2
- Fix single-line vertical alignment y-adjustment for center & bottom.
glyph-brush-layout 0.1.1
- Re-export
rusttype::point
. - Fix
bounds_rect
implementation for somef32::INFINITY
cases. - Handle zero & negative scale cases.
glyph-brush 0.2
- Add public
DefaultSectionHasher
. - Add
GlyphBrush::texture_dimensions
. - Remove leaked public
GlyphedSection
. - Remove
current
fromTextureTooSmall
, replaced by usingtexture_dimensions()
. - Improve some documentation using gfx-glyph specific terminology.
- Fix
pixel_bounds
returningNone
for some infinite bound + non-default layout cases. - Optimise calculate_glyph_cache trimming using intermediate fx-hashing.
name control ns/iter change ns/iter diff ns/iter diff % speedup render_100_small_sections_fully 25,412 20,844 -4,568 -17.98% x 1.22
- Add example usage using gl-rs.