mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 15:19:11 +02:00
Merge pull request #1398 from Universal-Debloater-Alliance/fix-linux-font
fix(gui): use Adwaita on Linux
This commit is contained in:
commit
2739d9b213
1 changed files with 7 additions and 0 deletions
|
|
@ -426,6 +426,13 @@ impl UadGui {
|
||||||
.settings(Settings {
|
.settings(Settings {
|
||||||
id: Some(String::from(NAME)),
|
id: Some(String::from(NAME)),
|
||||||
default_text_size: iced::Pixels(16.0),
|
default_text_size: iced::Pixels(16.0),
|
||||||
|
// HACK: avoid glyph clipping on some systems. Details:
|
||||||
|
// https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/pull/1337
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
default_font: iced::Font {
|
||||||
|
family: iced::font::Family::Name("Adwaita Sans"),
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
..Settings::default()
|
..Settings::default()
|
||||||
})
|
})
|
||||||
.window(Window {
|
.window(Window {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue