Skip to content

glyph-brush-0.7.7

Compare
Choose a tag to compare
@alexheretic alexheretic released this 24 Feb 12:17
· 24 commits to main since this release
  • Allow Text::new to work with any X type. This may break usage, however it will hopefully be non-breaking in practice as the compiler should always be able to infer this.
  • Add Section::builder for more flexible X/"extra" type usage than Section::default & for owned text too.
  • Add more flexible X type usage to GlyphBrush::keep_cached.
  • Add Section::from(text) & Section::from(vec![text]) conversions.
  • Update GlyphCruncher::glyphs, GlyphCruncher::glyph_bounds docs.