mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +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 |
||
---|---|---|
.. | ||
backends | ||
common | ||
compiler | ||
core | ||
core-macros | ||
interpreter |