Closed AlexDaniel closed 4 years ago
It will use the monospace font chosen by fontconfig:
Perhaps we should make it use GNOME’s monospace font like Terminal plug-in does:
You are right. We are using just generic monospace family name which doesn't seem to produce good results in your case. However, we can use Gio.Settings
to derive proper font and just modify size that way.
The approach @jtojnar is talking about is the correct one. However font family that is specified in cell_renderer
has to be string. So our approach would most likely be something like this:
settings = Gio.Settings.new('org.gnome.desktop.interface')
font = settings.get_string('monospace-font-name')
See this screenshot:
The font is different in
Mode
andDate
columns. I think sunflower is forcing a different font even though the default one is already fixed-width.