mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 12:50:04 -04:00
Switch the default egui font to Albert Sans
Follows the same approach as #8261: replaces Ubuntu-Light with a variable font hinted via ttfautohint, updates fallback references, loosens a couple of tests that hard-coded font-specific pixel values, and regenerates all visual snapshots. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -362,7 +362,7 @@ impl core::fmt::Debug for ColorImage {
|
||||
/// (which would require more atlas space, but would allow for more accurate rendering of colored text and emojis),
|
||||
/// or do the color compensation in the shader, based on the active text color.
|
||||
///
|
||||
/// When experimenting, use <https://fonts.google.com/specimen/Ubuntu> to compare to a ground truth.
|
||||
/// When experimenting, use <https://fonts.google.com/specimen/Albert+Sans> to compare to a ground truth.
|
||||
///
|
||||
/// See <https://hikogui.org/2022/10/24/the-trouble-with-anti-aliasing.html> for related analysis.
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user