Skip to content

Releases: alexheretic/glyph-brush

glyph-brush-layout-0.1.8

20 Sep 07:39
dfee549
Compare
Choose a tag to compare
  • Update rusttype -> 0.8. Compatible with rusttype 0.6.5 & 0.7.9.

glyph-brush-0.6

20 Sep 08:09
b0c7227
Compare
Choose a tag to compare
  • GlyphBrushBuilder removed initial_cache_size, gpu_cache_scale_tolerance, gpu_cache_position_tolerance, gpu_cache_align_4x4 public fields replaced by gpu_cache_builder field. This change allows the following changes.
  • Add GlyphBrush::to_builder method to construct GlyphBrushBuilders from GlyphBrush.
  • Add GlyphBrushBuilder::replace_fonts, GlyphBrushBuilder::rebuild methods. Along with to_builder these may be used to rebuild a GlyphBrush with different fonts more conveniently.
  • Replace hashbrown with rustc-hash + std::collections these are the same in 1.36.
  • Update rusttype -> 0.8. Compatible with rusttype 0.6.5 & 0.7.9.

glyph-brush-0.5.4

20 Sep 09:05
6789551
Compare
Choose a tag to compare
  • Semver trick re-export glyph_brush 0.6 without GlyphBrushBuilder.
  • Export GlyphBrushBuilderNext returned by GlyphBrush::to_builder.

gfx-glyph-0.16

20 Sep 08:16
392a6be
Compare
Choose a tag to compare
  • Remove deprecated GlyphBrush::draw_queued (use use_queue()).
  • Update glyph_brush -> 0.6.

glyph-brush-layout-0.1.7

16 Aug 18:34
14e6cb6
Compare
Choose a tag to compare
  • Update xi-unicode -> 0.2.

glyph-brush-0.5.3

21 Jun 09:00
8e78a1d
Compare
Choose a tag to compare
  • Fix queue_pre_positioned cache check for position & scale changes.

glyph-brush-0.5.2

19 Jun 06:16
c74aabb
Compare
Choose a tag to compare
  • Disallow GlyphBrushBuilder direct construction.

glyph-brush-0.5.1

14 Jun 07:41
4c5b141
Compare
Choose a tag to compare
  • Add GlyphCruncher::glyph_bounds & glyph_bounds_custom_layout functions. These return section bounding boxes in terms of the font & glyph's size metrics, which can be more useful than the pixel rendering bounds provided by pixel_bounds.
  • Add GlyphBrushBuilder::gpu_cache_align_4x4 for rusttype gpu_cache align_4x4 option. delegate_glyph_brush_builder_fns! includes this for downstream builders.
  • Update hashbrown -> 0.5.

glyph-brush-layout-0.1.6

07 May 09:31
3183f73
Compare
Choose a tag to compare
  • Fix missing line breaks for multi-byte breaking chars like Chinese characters.

glyph-brush-0.5

03 May 08:38
a6df0e1
Compare
Choose a tag to compare
  • Removed screen dimensions from process_queued arguments. to_vertex function arguments also no longer include screen dimensions. Vertices should now be given pixel coordinates and use an appropriate projection matrix as a transform.

    This approach simplifies glyph_brush code & allows the vertex cache to survive screen resolution changes. It also makes pre-projection custom transforms much easier to use. See usage changes in the opengl example & gfx_glyph.