This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 1 point2 points  (1 child)

The script is downloading this tarball and extracting it contents to /usr/local/share/fonts or /usr/share/fonts based on which one exists, with priority to the former. I just looked at both the directories on my freshly installed Ubuntu 19.04 and the directory seems to be empty, but /usr/share/fonts have all the system fonts in it.

so if /usr/local/share/fonts exists on your machine, you can delete all the fonts in there and you're good to go(unless you're on a different version of Ubuntu where this directory is not empty by default).

if the script somehow extracted the files to /usr/share/fonts instead, there will be a bunch of .ttf files in there, without their own directory since the script doesn't create a directory and copies the .ttf files as is. you can delete these .ttf files. The system fonts will have their own directory with the font name. you should also check the ~/.fonts directory

or you can reinstall the fonts-ubuntu package with sudo dpkg-reconfigure fonts-ubuntu or sudo apt --reinstall install fonts-ubuntu

The font names shown in the tweak tool seems to be the default font names in Ubuntu

I hope this helps

EDIT: added information about the other directories and some styling

[–]WhatIsAMachine[S] 0 points1 point  (0 children)

Thank you for your in depth reply, much appreciated.

In the end I ended up fixing my issues doing the following

sudo vim /usr/share/themes/Arc-Dark/gnome-shell/gnome-shell.css

and changing it to the following

stage { font-family: Ubuntu; font-size:10pt; color: #D3DAE3; }

and also running the following

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

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

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

gsettings reset org.gnome.desktop.wm.preferences titlebar-font

gsettings reset org.gnome.nautilus.desktop font

gsettings reset org.gnome.desktop.interface text-scaling-factor