Tags give the ability to mark specific points in history as being important
  • 0.9.2
    3d6b0ec6 · Release 0.9.2 ·
    Release 0.9.2
    • Update ttf-parser -> 0.6.
    • Use more flexible lifetime bounds for Font::layout.
  • 0.9.1
    8d72126b · Release 0.9.1 ·
    Release 0.9.1
    • Use crate owned_ttf_parser to provide OwnedFont eliminating direct unsafe usage in rusttype.
    • Remove unused legacy trait BoundingBox.
    • Add ScaledGlyph::build_outline & PositionedGlyph::build_outline methods.
  • 0.9.0
    d3c29330 · Release 0.9 ·
    Release 0.9.0
    • Major rework to use crates ttf-parser & ab_glyph_rasterizer to respectively read and render OpenType .oft format fonts.
    • Remove dependencies approx, stb_truetype & ordered-float along with in-crate rasterization code.
    • Strip back some non-vital API functionality.
      • Remove support for .standalone() variants which are sparsely used.
      • Remove some functions that didn't immediately translate to ttf-parser. Please raise issues to re-add any you relied on via the new stack.
  • 0.8.3
    767a7275 · Release 0.8.3 ·
    Release 0.8.3
    • Remove arrayvec dependency.
    • Add Default implementations for geometry structs.
  • 0.8.2
    82664271 · Release 0.8.2 ·
    Release 0.8.2
    • Update crossbeam-utils -> 0.7.
    • Update libm -> 0.2.1.
  • 0.8.1
    14bc3286 · Release 0.8.1 ·
    Release 0.8.1
    • Update arrayvec -> 0.5.
  • 0.7.9
    b9ada641 · Release 0.7.9 ·
    Release 0.7.9
    • Use semver trick to re-export rusttype 0.8 with default-features on.
  • 0.8.0
    6231ff7a · Move 0.7.8 -> 0.8 ·
    Release 0.8.0
    • Support no-std usage by disabling the new default feature std and using new features libm-math and has-atomics. The gpu_cache module/feature requires std.
  • 0.7.8
    249c7f88 · Release 0.7.8 ·
    Release 0.7.8

    yanked

  • 0.2.4
    Release 0.2.4
    • Fix NLL migration warning
  • 0.7.7
    357a2d87 · Release 0.7.7 ·
    Release 0.7.7
    • gpu_cache: Add CacheBuilder::align_4x4 method which forces texture updates to align to 4x4 pixel boxes.
    • gpu_cache: Disable multithread code and remove dependencies on wasm32.
  • 0.7.6
    7ec2709f · Release 0.7.6 ·
    Release 0.7.6
    • GlyphIter and LayoutIter provide the lifetime of the font data.
  • 0.7.5
    6f22ea35 · Release 0.7.5 ·
    Release 0.7.5
    • gpu_cache: Cache::cache_queued now returns CachedBy for successes which can allow callers to tell that the texture cache has been re-ordered.
  • 0.7.4
    2a8ffc75 · Release 0.7.4 ·
    Release 0.7.4
    • Add fn PositionedGlyph::set_position
    • gpu_cache: Update crossbeam-deque -> 0.7, use Injector for minor rasterization performance boost.
  • 0.7.3
    c53e8f47 · Release 0.7.3 ·
    Release 0.7.3
    • gpu_cache: Update crossbeam-utils -> 0.6
  • 0.7.2
    b37b6271 · Release 0.7.2 ·
    Release 0.7.2
    • Update ordered-float -> 1
  • 0.7.1
    3993f756 · Release 0.7.1 ·
    Release 0.7.1
    • Fix PositionedGlyph::pixel_bounding_box() size inconsistencies at different positions with identical sub-pixel positions.
  • 0.6.5
    aa13a101 · Semver trick 0.6.5 -> 0.7 ·
    Release 0.6.5
    • Re-export rusttype 0.7 non-breaking main API, while keeping the current version of the gpu_cache module.
  • 0.7.0
    e7c6b078 · Release 0.7 ·
    Release 0.7.0
    • Rework CacheBuilder to use methods to allow non-breaking additions in future. New style is Cache::builder().dimensions(512, 512).build().
    • Support multithreaded rasterization in the gpu_cache. This yields significant improvements in worst case performance when more than 1 CPU core is available. Thrashing, resizing & population benchmarks are ~3x faster on a 4-core Haswell. Multithreading is enabled by default in environments with more than a single core, but can be explicitly disabled using Cache::builder().multithread(false).
    • Remove all deprecated API.
    • Add Debug implementations for Font, Glyph, ScaledGlyph & PositionedGlyph
    • Add and improve documentation + examples.

    4-core Haswell benchmark comparison

    name                                    0.6.4 ns/iter    0.7 ns/iter     diff ns/iter   diff %  speedup 
    cache::multi_font_population            8,239,309        2,570,034         -5,669,275  -68.81%   x 3.21 
    cache_bad_cases::moving_text_thrashing  21,589,054       6,691,719        -14,897,335  -69.00%   x 3.23 
    cache_bad_cases::resizing               15,162,054       4,607,499        -10,554,555  -69.61%   x 3.29 
  • 0.6.4
    8636b862 · Release 0.6.4 ·