Comment 8 for bug 2034986

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Gunnar Hjalmarsson wrote:
> Maybe it would be sufficient to drop the Ubuntu font as the first choice and
> simply let fontconfig deal with it for everyone.

I tested that approach. On an updated lunar I run this command:

gsettings set org.gnome.desktop.interface font-name 'Sans 11'

before doing "update-manager -d". The upgrade completed successfully without font rendering issues.

So as a workaround I'm thinking that an equivalent of that command could be added to the beginning of the main function in DistUpgradeViewGtk3.py file (before the first "Gtk.main()" call), while the equivalent of this command:

gsettings reset org.gnome.desktop.interface font-name

could be executed right before the computer is restarted.

Or maybe just a wrapper.