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 2022Releases
latest 40-
0.9.302 Nov 2022Nothing published for this version
-
0.9.223 May 2020Release notes
Open source →- Update ttf-parser ->
0.6. - Use more flexible lifetime bounds for
Font::layout.
- Update ttf-parser ->
-
0.9.125 Apr 2020Release notes
Open source →- Use crate owned_ttf_parser to provide
OwnedFonteliminating direct unsafe usage in rusttype. - Remove unused legacy trait
BoundingBox. - Add
ScaledGlyph::build_outline&PositionedGlyph::build_outlinemethods.
- Use crate owned_ttf_parser to provide
-
0.9.018 Apr 2020Release notes
Open source →- 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.
- Remove support for
-
0.8.310 Apr 2020Release notes
Open source →- Remove arrayvec dependency.
- Add
Defaultimplementations for geometry structs.
-
0.8.223 Nov 2019 -
0.8.127 Sep 2019 -
0.8.006 Sep 2019Nothing published for this version
-
0.7.906 Sep 2019 -
0.7.806 Sep 2019 withdrawn -
0.7.714 Jun 2019Release notes
Open source →- gpu_cache: Add
CacheBuilder::align_4x4method which forces texture updates to align to 4x4 pixel boxes. - gpu_cache: Disable multithread code and remove dependencies on wasm32.
- gpu_cache: Add
-
0.7.614 Apr 2019 -
0.7.508 Feb 2019Release notes
Open source →- gpu_cache:
Cache::cache_queuednow returnsCachedByfor successes which can allow callers to tell that the texture cache has been re-ordered.
- gpu_cache:
-
0.7.401 Feb 2019Release notes
Open source →- Add fn
PositionedGlyph::set_position - gpu_cache: Update crossbeam-deque ->
0.7, useInjectorfor minor rasterization performance boost.
- Add fn
-
0.7.316 Nov 2018 -
0.7.214 Sep 2018 -
0.7.107 Sep 2018Release notes
Open source →- Fix
PositionedGlyph::pixel_bounding_box()size inconsistencies at different positions with identical sub-pixel positions.
- Fix
-
0.7.024 Aug 2018Nothing published for this version
-
0.6.524 Aug 2018Release notes
Open source →- Re-export rusttype
0.7non-breaking main API, while keeping the current version of the gpu_cache module.
- Re-export rusttype
-
0.6.417 Aug 2018Release notes
Open source →- Add
CacheBuilder::rebuild&Cache::to_buildermethods. - gpu_cache: Only rasterize & upload after queue has successfully fit in cache producing a 1.16-1.29x speedup in resizing & thrashing benchmarks.
- Add
-
0.6.307 Aug 2018Release notes
Open source →- Documentation clarifications
- Avoid depending on unused dependency default-features
-
0.6.220 Jun 2018Release notes
Open source →- Add
From<&AsRef<[u8]>> for SharedBytes. - Optimise
gpu_cachehashing to improve benchmark performance by ~30%.
- Add
-
0.6.127 May 2018Release notes
Open source →- Optimise rasterizer removing internal hashing. Improves draw benchmark performance by 11-91%.
-
0.6.023 May 2018Nothing published for this version
-
0.5.221 Mar 2018Release notes
Open source →- Add gpu cache glyph padding option to fix texture bleeding from other
glyphs when using interpolated texture coordinates near edges. Use
CacheBuilderto construct aCachethat makes use of padding. - Inlining performance improvements.
- Add gpu cache glyph padding option to fix texture bleeding from other
glyphs when using interpolated texture coordinates near edges. Use
-
0.5.121 Mar 2018 -
0.5.020 Mar 2018Nothing published for this version
-
0.4.318 Mar 2018 -
0.4.116 Feb 2018Nothing published for this version
-
0.4.013 Feb 2018Nothing published for this version
-
0.3.112 Feb 2018 withdrawnNothing published for this version
-
0.3.027 Nov 2017Nothing published for this version
-
0.2.405 Sep 2019Nothing published for this version
-
0.2.324 Sep 2017Nothing published for this version
-
0.2.224 Sep 2017Nothing published for this version
-
0.2.105 Sep 2016Release notes
Open source →- Made the API more convenient (courtesy of @mitchmindtree, @I1048576).
- Fixes for the examples (@I1048576)
- Removed the dependency on ndarray (@I1048576)
-
0.2.019 Mar 2016Nothing published for this version
-
0.1.214 Feb 2016 -
0.1.113 Feb 2016 -
0.1.005 Feb 2016Nothing published for this version