7 releases
0.3.3 | Dec 10, 2021 |
---|---|
0.3.2 | Sep 22, 2021 |
0.3.0 | Aug 24, 2020 |
0.2.1 | Feb 24, 2020 |
0.1.0 | Sep 8, 2019 |
#250 in Rendering
26 downloads per month
105KB
547 lines
Description
The library provides and implementation of text justification inside rectangles for Rust
lib.rs
:
This crate provides an implementation for calculating the positions of text fragments to fit text withing a rectangle.
The graphics
feature, which is on by default, allows the direct rendering of a fitted
text with the piston2d-graphics
crate.
Dependencies
~1MB
~23K SLoC