egui/crates/epaint/src
StarStarJ 7b105cfa0f
Invalidate font atlas on any change to `pixels_per_point`, not matter how small (#3698)
Apparently the font implementation uses a distance check to decide if
the font(or whatever) need recalculations, after dpi changed:

8d4de866d4/crates/epaint/src/text/fonts.rs (L381-L382)

This leads to warnings when the pixel_per_point diff is very low and
spams the log. (<- this happens for me if i resize my window on kwin,
e.g. maximize it)

(I don't want to debate if the float difference generally makes sense,
so if you want to rework that instead just close this pr)
2024-01-08 09:13:34 +01:00
..
text Invalidate font atlas on any change to `pixels_per_point`, not matter how small (#3698) 2024-01-08 09:13:34 +01:00
util Improve multi-viewports across monitors with different scales (#3663) 2023-11-30 12:08:53 +01:00
bezier.rs Improve clippy, and add more docs (#3306) 2023-09-05 14:11:22 +02:00
image.rs Highlight submenu buttons when hovered and open (#3780) 2024-01-07 22:08:32 +01:00
lib.rs Keep unsafe code forbidden when puffin is disabled (#3603) 2023-11-22 20:37:46 +01:00
mesh.rs Support images with rounded corners (#3257) 2023-08-15 09:29:30 +02:00
mutex.rs Use `impl Into<Stroke>` as argument in a few more places (#3420) 2023-11-10 21:36:51 +01:00
shadow.rs Style tweaks (#2406) 2022-12-08 10:55:13 +01:00
shape.rs Add support for dashed lines with offset (#3720) 2023-12-23 16:17:04 +01:00
shape_transform.rs Fix text color of disabled widgets (#3744) 2023-12-28 11:16:39 +01:00
stats.rs Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
stroke.rs Remove deprecated functions (#3692) 2023-12-08 11:02:57 +01:00
tessellator.rs Replace a special `Color32::PLACEHOLDER` with widget fallback color (#3727) 2023-12-22 15:09:10 +01:00
texture_atlas.rs Fix buggy text withviewports on monitors with different scales (#3666) 2023-11-30 15:56:05 +01:00
texture_handle.rs Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
textures.rs Some clippy fixes from 1.72.0 2023-08-25 07:44:25 +02:00