egui/crates
Alexander Nadeau 6c922f72a8
Fix text distortion on mobile devices/browsers with `glow` backend (#6893)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

Did not test on platforms other than my phone, but I can't imagine it
causing problems. AFAIK if highp isn't supported then `precision highp
float;` needs to still not cause the program to fail to link/compile or
anything; it should just silently use some other precision.

* Fixes https://github.com/emilk/egui/issues/4268 for me but I only
tested it on a native Android app and I don't know whether backends
other than glow are affected.
* [x] I have followed the instructions in the PR template (but the
change is trivial so I'm just doing it from the master branch)

Before:

![image](https://github.com/user-attachments/assets/9f449749-5a48-4e9c-aef0-7a8ac3912eb6)

After:

![image](https://github.com/user-attachments/assets/544e5977-13e0-411a-bccf-b15a15289e28)
2025-04-30 14:12:08 +02:00
..
ecolor Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
eframe Add external eventloop support (#6750) 2025-04-29 12:09:23 +02:00
egui Fix image button panicking with tiny `available_space` (#6900) 2025-04-30 10:40:50 +02:00
egui-wgpu Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui-winit Add macOS-specific `has_shadow` and `with_has_shadow` to ViewportBuilder (#6850) 2025-04-29 12:02:42 +02:00
egui_demo_app Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui_demo_lib Add italic button benchmark to test `RichText` performance impact (#6897) 2025-04-30 10:38:41 +02:00
egui_extras Load images on the ui thread for tests (#6901) 2025-04-30 12:55:57 +02:00
egui_glow Fix text distortion on mobile devices/browsers with `glow` backend (#6893) 2025-04-30 14:12:08 +02:00
egui_kittest Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
epaint Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
epaint_default_fonts Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00