linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

If users select "system fixed width font," xed and sudo xed use different fonts #640

Open MarjaE2 opened 3 months ago

MarjaE2 commented 3 months ago
xed - Version 3.4.5
Fedora 40 t2, then installing Cinnamon

Issue

In Cinnamon > Font Selection, I've picked IntelOne Mono 16 as a fixed width font.

In xed, preferences > font shows "Use the system fixed width font (IntelOne Mono 16)."

In sudo xed, text starts unreadably small, and preferences > font shows "Use the system fixed width font (Noto Sans Mono 10)."

Steps to reproduce

  1. Set a new fixed-width font in Cinnamon > Font Selection.
  2. Open xed, see what font it uses.
  3. sudo xed, see what font it uses.

Expected behaviour

  1. sudo xed should find the same "system fixed width font" as xed.

Other information

Not sure if this is a bug in xed, Cinnamon Control Center, Cinnamon Settings Daemon, or something else...