Releases: alexheretic/glyph-brush
Releases · alexheretic/glyph-brush
glyph-brush-layout-0.1.8
- Update rusttype ->
0.8
. Compatible with rusttype0.6.5
&0.7.9
.
glyph-brush-0.6
GlyphBrushBuilder
removedinitial_cache_size
,gpu_cache_scale_tolerance
,gpu_cache_position_tolerance
,gpu_cache_align_4x4
public fields replaced bygpu_cache_builder
field. This change allows the following changes.- Add
GlyphBrush::to_builder
method to constructGlyphBrushBuilder
s fromGlyphBrush
. - Add
GlyphBrushBuilder::replace_fonts
,GlyphBrushBuilder::rebuild
methods. Along withto_builder
these may be used to rebuild aGlyphBrush
with different fonts more conveniently. - Replace
hashbrown
withrustc-hash
+std::collections
these are the same in 1.36. - Update rusttype ->
0.8
. Compatible with rusttype0.6.5
&0.7.9
.
glyph-brush-0.5.4
- Semver trick re-export glyph_brush
0.6
withoutGlyphBrushBuilder
. - Export
GlyphBrushBuilderNext
returned byGlyphBrush::to_builder
.
gfx-glyph-0.16
- Remove deprecated
GlyphBrush::draw_queued
(useuse_queue()
). - Update glyph_brush ->
0.6
.
glyph-brush-layout-0.1.7
- Update xi-unicode ->
0.2
.
glyph-brush-0.5.3
- Fix
queue_pre_positioned
cache check for position & scale changes.
glyph-brush-0.5.2
- Disallow
GlyphBrushBuilder
direct construction.
glyph-brush-0.5.1
- 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 bypixel_bounds
. - Add
GlyphBrushBuilder::gpu_cache_align_4x4
for rusttype gpu_cachealign_4x4
option.delegate_glyph_brush_builder_fns!
includes this for downstream builders. - Update hashbrown ->
0.5
.
glyph-brush-layout-0.1.6
- Fix missing line breaks for multi-byte breaking chars like Chinese characters.
glyph-brush-0.5
-
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.