Skip to content

Releases: alexheretic/glyph-brush

gfx-glyph-0.13.2

01 Feb 09:39
88d292e
Compare
Choose a tag to compare
  • 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

21 Dec 11:09
52b272c
Compare
Choose a tag to compare
  • Implement FontMap for AsRef<[Font]> instead of Index<usize, Output = Font> to support arrays and slices. If this breaks your usage try implementing FontMap 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

21 Dec 11:12
55356bd
Compare
Choose a tag to compare
  • Add GlyphBrush::keep_cached.

gfx-glyph-0.13.1

21 Dec 11:16
3d4a2ad
Compare
Choose a tag to compare
  • Add GlyphBrush::keep_cached.

glyph-brush-0.2.3

16 Dec 13:47
ed30cd1
Compare
Choose a tag to compare
  • Use hashbrown map & sets improves some benchmarks by 1-4%.

glyph-brush-0.2.2

09 Nov 09:38
652cbbb
Compare
Choose a tag to compare
  • Add GlyphCalculator::fonts & GlyphCalculatorGuard::fonts methods.

glyph-brush-0.2.1

28 Sep 15:09
d083d62
Compare
Choose a tag to compare
  • Fix on-off single section cache clearing.
  • Fix double initial draw.

glyph-brush-layout-0.1.2

21 Sep 08:59
c603f9a
Compare
Choose a tag to compare
  • Fix single-line vertical alignment y-adjustment for center & bottom.

glyph-brush-layout 0.1.1

14 Sep 09:17
7f7a869
Compare
Choose a tag to compare
  • Re-export rusttype::point.
  • Fix bounds_rect implementation for some f32::INFINITY cases.
  • Handle zero & negative scale cases.

glyph-brush 0.2

14 Sep 09:17
7f7a869
Compare
Choose a tag to compare
  • Add public DefaultSectionHasher.
  • Add GlyphBrush::texture_dimensions.
  • Remove leaked public GlyphedSection.
  • Remove current from TextureTooSmall, replaced by using texture_dimensions().
  • Improve some documentation using gfx-glyph specific terminology.
  • Fix pixel_bounds returning None 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.