Expand description
Rust Pango bindings
Rust bindings and wrappers for Pango, part of gtk-rs-core.
Pango 1.38 is the lowest supported version for the underlying library.
Minimum supported Rust version
Currently, the minimum supported Rust version is 1.56.0
.
Documentation
Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
Avoid mixing versioned and git crates like this:
[dependencies]
pango = "0.13"
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
See Also
License
pango is available under the MIT License, please refer to it.
Re-exports
Modules
Structs
The result of LayoutLine::x_to_index
.
Enums
Constants
The scale factor for one magnification step (1.2).
The scale factor for normal size (1.0).
The scale factor for one shrinking step (1 / 1.2).
The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
The scale factor for two magnification steps (1.2 * 1.2).
The scale factor for two shrinking steps (1 / (1.2 * 1.2)).