mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +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 |
||
---|---|---|
.. | ||
bitmapfont.rs | ||
brush.rs | ||
color.rs | ||
fps_counter.rs | ||
image.rs | ||
path.rs |