In Libre Office there are so many (Noto) Fonts and I will never use them. I find here and on the internet several manuals how to get rid of them (make them invisible). I tryed a number of suggestions to get rid of them but it don work or I did somethin wrong. In Libre Officie I installed my own favorite fonts and I want to get rit of the rest. Is that possible.
Xubuntu 22.04.3
Good question. Most distros have zillions of fonts that none of us will ever use. But some fonts may be depended upon by other programs, many of which we donât see, so I donât think editing the font collections in /etc would be a good idea.
Neville, got any ideas?
Thatâs why I are scared to remove some fonts because itâs not allways clear which fonts can destroy the system when you remove them. Itâs dissapointed that allmost nowbody have the knowledge of this.
No need to be scared (at least not on Debian).
If you remove a package of a font, on which something is dependent, that will be removed too. Before doing it really, you should check what it would remove as well.
For example:
root@DellG3:/home/laco# apt remove fonts-noto
CsomaglistĂĄk olvasĂĄsa... KĂ©sz
FĂŒggĆsĂ©gi fa Ă©pĂtĂ©se... KĂ©sz
ĂllapotinformĂĄciĂłk olvasĂĄsa... KĂ©sz
A következĆ csomagok automatikusan lettek telepĂtve, Ă©s mĂĄr nincs rĂĄjuk szĂŒksĂ©g:
fonts-noto-unhinted fonts-roboto fonts-roboto-unhinted
Ezeket az âsudo apt autoremoveâ paranccsal törölheti.
Az alĂĄbbi csomagok el lesznek TĂVOLĂTVA:
adapta-gtk-theme fonts-noto
0 frissĂtett, 0 Ășjonnan telepĂtett, 2 eltĂĄvolĂtandĂł Ă©s 0 nem frissĂtett.
A mƱvelet utĂĄn 19,9 MB lemezterĂŒlet szabadul fel.
Folytatni akarja? [I/n] n
MegszakĂtva.
If Iâd remove fonts-noto, adapta-gtk-theme would be removed too. Of course I cancelled, I just wanted to showâŠ
If anything goes wrong, you can reinstall the missing font.
I recommend my practice, I would call this best-practice
Whenever I install something, remove something, or do something system-wide, of which the outcome is unsure, so I may ruin the system, I always take a systemback snapshot. Systemback is just my choice, something like timeshift could work tooâŠ
The point is to have a full working restore point, so if things go wrong, thereâs an easy undo.
What did you do?
Iâd just remove the package via apt remove which contains the font to be removed.
I also have fonts that I installed outside the package manager, so Iâd just delete them (they are somewhere under /usr/share/fonts/
), then run fc-cache -fv
, if I wanted to get rid of them.
The point is that I donât know what will be destroyed when I remove the Noto fonts because there are some dependencies to the ubuntu system. Some Noto fonts can be removed safely, onthers not and I donât no en donât understand wich. Earlyer I removed some noto fonts and my systems collapsed and had to use Systemback to recover it. it makes me insecure. The reason for starting this topic.
Bill is right.
The only way to safely remove anything is to use the package system. Anything else will break dependencies.
I discussed this issue in a post last year, or perhaps even earlier - how much I DETEST the VAST
âcacophanyâ of hideous fonts for some obscure character set, that the likes of Canonical foist on their usersâŠ
e.g. I barely use any of the Libre suite, but, I do use Inkscape often, and I GRINDS MY GEARS when Iâm looking for a decent font for a text object in an SVG file Iâm editingâŠ
URL to the original script that I plagiarized :
https://www.riksoft.it/wikiriks/linux/remove-foreign-fonts-from-debian-ubuntu
My version of his script has lotsa nasty swear words in the filename, and even more in the shell script!
Update :
InkScape is now almost feature-for-feature, on a par with CorelDraw - it can now do mulptiple (sic) page documents since version 1.2âŠ
Try using Latex. If you are lax enough to ask for a full install, you get fonts for every language⊠something like 50 languagesâŠ
Even if you specify only English fonts, the font package is much larger than the texlive
software package.
That is because fonts are all artwork
and no science
. If there was a theory of fonts, you could just have a single font algorithm which would generate any needed font on the fly.
We have a lot to learn about written communication.
You mean by the package system Synaptic?
Yes, or apt
at the command line.
Fonts come in packages. You can only add or delete the whole package, not individual fonts
If you try to delete something that other things are dependent on, the package system will attempt to find a substitute, and if there is no replacement, it will refuse with a warning.
If you add some package that needs other packages (called dependencies) apt will add the dependencies as well.
You need that protection. That is what the package system is for.
I understand, thank you for your support.
I donât know in other desktop environments (I guess, there must be something similar), but in KDE you have a font management tool built in, which makes it dead easy to preview, delete and add fonts.
The font viewer makes fonts invissible, but you canÂŽt delete them. So i used Synaptic. I Select 81 fonts and some Noto fonts (I noticed the warnings and depencies) and now there all gone.
Iâm happy with that, all that rubbish.
Can you explain the relationship between the font management tool and the package manager?
I dont see how they can both have control over adding and deleting fonts.
No.
I canât, and actually, I wonder what it matters. The idea is not to have fonts cluttering dropdown menus when choosing a font, right? And this is what it achieves.
I just tried. Removed a Sundanese font, which I will never use in my life. Rebooted and it disappeared from LibreOffice, GnuIMP etc. Still, the ttf file is still on my computer, which makes sense, in case thereâs a website or a document I get, where they are used for decorative purposes.
Font design and description is indeed an entire universe.
Yet, returning to the original topic of this thread, there is a very good reason to disable fonts on the desktop level and not to remove them via the package manager:
Imaging you got rid of all the fonts, you donât like via the packet manager and then install some new piece of software which comes with a huge package of fonts. You will all get them back, and youâll have to go through all the process again.
On the other hand, if basically all fonts are already installed, but the majority unused, you might get 1 or 2 new ones and thatâs it. Still no clutter in the menus.
Thank you @Mina ,
I get it now. Masking fonts is safer than removal .
Why should you keep tens of fonts you never will use, then there is no deed to keep them.