mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-29 13:24:48 +00:00
![]() The code was mixing logical and physical sizes, causing glyphs being doubly scaled down. Instead, this patch introduces: * Physical* and Logical* euclid length/size/rect aliases * some extraction traits for getting the scalars in rects/sizes as lengths (until euclid has them built-in) * wrapper traits/types for safely extracting the physical font metrics the compiler generates (i16) * Fix a bug in the text height calculation where we failed to take the descent into account |
||
---|---|---|
.. | ||
LICENSES | ||
simulator | ||
Cargo.toml | ||
fonts.rs | ||
lengths.rs | ||
lib.rs | ||
pico_st7789.rs | ||
README.md | ||
renderer.rs | ||
simulator.rs |
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint
crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z"
in Cargo.toml.