PackageTrack
Sign in Get early access

rusttype

A pure Rust alternative to libraries like FreeType. RustType provides an API for loading, querying and rasterising TrueType fonts. It also provides an implementation of a dynamic GPU glyph cache for hardware font rendering.

0.9.3 17M downloads/mo #2321 most downloaded on crates.io source

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 2.4 years

Most releases are documented

notes for 25 of 38 stable releases

2 versions withdrawn

withdrawn after publishing

11 years old

40 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

40 releases · Feb 2016 to Nov 2022
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 40
  1. 0.9.3 02 Nov 2022

    Nothing published for this version

  2. 0.9.2 23 May 2020
    Release notes
    • Update ttf-parser -> 0.6.
    • Use more flexible lifetime bounds for Font::layout.
    Open source →
  3. 0.9.1 25 Apr 2020
    Release notes
    • 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.
    Open source →
  4. 0.9.0 18 Apr 2020
    Release notes
    • 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.
    Open source →
  5. 0.8.3 10 Apr 2020
    Release notes
    • Remove arrayvec dependency.
    • Add Default implementations for geometry structs.
    Open source →
  6. 0.8.2 23 Nov 2019
    Release notes
    • Update crossbeam-utils -> 0.7.
    • Update libm -> 0.2.1.
    Open source →
  7. 0.8.1 27 Sep 2019
    Release notes
    • Update arrayvec -> 0.5.
    Open source →
  8. 0.8.0 06 Sep 2019

    Nothing published for this version

  9. 0.7.9 06 Sep 2019
    Release notes
    • Use semver trick to re-expect rusttype 0.8 with default-features on.
    Open source →
  10. 0.7.8 06 Sep 2019 withdrawn
    Release notes

    yanked

    Open source →
  11. 0.7.7 14 Jun 2019
    Release notes
    • 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.
    Open source →
  12. 0.7.6 14 Apr 2019
    Release notes
    • GlyphIter and LayoutIter provide the lifetime of the font data.
    Open source →
  13. 0.7.5 08 Feb 2019
    Release notes
    • gpu_cache: Cache::cache_queued now returns CachedBy for successes which can allow callers to tell that the texture cache has been re-ordered.
    Open source →
  14. 0.7.4 01 Feb 2019
    Release notes
    • Add fn PositionedGlyph::set_position
    • gpu_cache: Update crossbeam-deque -> 0.7, use Injector for minor rasterization performance boost.
    Open source →
  15. 0.7.3 16 Nov 2018
    Release notes
    • gpu_cache: Update crossbeam-utils -> 0.6.
    Open source →
  16. 0.7.2 14 Sep 2018
    Release notes
    • Update ordered-float -> 1.
    Open source →
  17. 0.7.1 07 Sep 2018
    Release notes
    • Fix PositionedGlyph::pixel_bounding_box() size inconsistencies at different positions with identical sub-pixel positions.
    Open source →
  18. 0.7.0 24 Aug 2018

    Nothing published for this version

  19. 0.6.5 24 Aug 2018
    Release notes
    • Re-export rusttype 0.7 non-breaking main API, while keeping the current version of the gpu_cache module.
    Open source →
  20. 0.6.4 17 Aug 2018
    Release notes
    • Add CacheBuilder::rebuild & Cache::to_builder methods.
    • gpu_cache: Only rasterize & upload after queue has successfully fit in cache producing a 1.16-1.29x speedup in resizing & thrashing benchmarks.
    Open source →
  21. 0.6.3 07 Aug 2018
    Release notes
    • Documentation clarifications
    • Avoid depending on unused dependency default-features
    Open source →
  22. 0.6.2 20 Jun 2018
    Release notes
    • Add From<&AsRef<[u8]>> for SharedBytes.
    • Optimise gpu_cache hashing to improve benchmark performance by ~30%.
    Open source →
  23. 0.6.1 27 May 2018
    Release notes
    • Optimise rasterizer removing internal hashing. Improves draw benchmark performance by 11-91%.
    Open source →
  24. 0.6.0 23 May 2018

    Nothing published for this version

  25. 0.5.2 21 Mar 2018
    Release notes
    • Add gpu cache glyph padding option to fix texture bleeding from other glyphs when using interpolated texture coordinates near edges. Use CacheBuilder to construct a Cache that makes use of padding.
    • Inlining performance improvements.
    Open source →
  26. 0.5.1 21 Mar 2018
    Release notes
    • Fix tree removal on row clear (gpu_cache).
    Open source →
  27. 0.5.0 20 Mar 2018

    Nothing published for this version

  28. 0.4.3 18 Mar 2018
    Release notes
    • Improve gpu_cache performance ~6-17%
    Open source →
  29. 0.4.1 16 Feb 2018

    Nothing published for this version

  30. 0.4.0 13 Feb 2018

    Nothing published for this version

  31. 0.3.1 12 Feb 2018 withdrawn

    Nothing published for this version

  32. 0.3.0 27 Nov 2017

    Nothing published for this version

  33. 0.2.4 05 Sep 2019

    Nothing published for this version

  34. 0.2.3 24 Sep 2017

    Nothing published for this version

  35. 0.2.2 24 Sep 2017

    Nothing published for this version

  36. 0.2.1 05 Sep 2016
    Release notes
    • Made the API more convenient (courtesy of @mitchmindtree, @I1048576).
    • Fixes for the examples (@I1048576)
    • Removed the dependency on ndarray (@I1048576)
    Open source →
  37. 0.2.0 19 Mar 2016

    Nothing published for this version

  38. 0.1.2 14 Feb 2016
    Release notes

    Fixed issue #8

    Open source →
  39. 0.1.1 13 Feb 2016
    Release notes

    Fixed issue #7

    Open source →
  40. 0.1.0 05 Feb 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive