Word Processor Font Bloat Too Many Fonts

Whether I use OpenOffice or Libre Office the font selection is bloated with hundreds of system fonts (noto and source). Is it possible to direct OpenOffice to access only fonts that are useful to wordprocessing? This should be something that Manjaro does automatically for Word Processors.

I tried to follow a solution from another topic on here (Manjaro Forums) ā€œI have too many fonts installed on my laptopā€ where the guy posing it was being harassed for having a similar complaint.

One helper had a solution with a link BUT:
~/.config/fontconfig/fonts.conf

Is not a legitimate location on my system. And I suspect it may be better to point office programs to specific fonts than mess with fonts systemwide.

I dont see any harassment. Just the position that ā€˜installed fonts show - we dont see the issueā€™. And for what its worth ā€¦ I think thats at least a valid perspective.

Its a valid path ā€¦ if you want it, just create it.
And its not ā€˜system-wideā€™ ā€¦ its a user config.

1 Like

As a newbie I just calls it like I sees it. He asked a question and others mocked him for complaining about how much diskspace a font uses. I say the mockery is off topic.

Also as a newbie and NOT having that path (like I said) ~/.config/fontconfig/fonts.conf
My path only goes:
/home/USERNAME/.config/

What makes my word processor have to obey something (fonts.conf) I make in a folder that I also make called fontconfig?

I dont think summing the relative size and weighing the cost/benefit of 300-400mb vs the time to remove it is mocking. But perception of someone elses words on some other thread is pretty irrelevant here.

Its a standard configuration file for font rendering on the desktop.
It has syntax and standards and most everything done on your desktop will comply with that configuration.

Create the folder/file as needed.

Okay I will give it a shot. I would post the link here but because I am a newbie I canā€™t.

Thank you for helping a newbie. This worked.

  1. Using Dolphin I navigated to /home/MyUsername/.config/
  2. Because I didntā€™ have a fontconfig folder I: Right clicked on the background and selected ā€œcreate new folderā€ and named it: fontconfig
  3. Clicked on my new folder and navigated to /home/MyUsername/.config/fontconfig/ and righ clicked mouse on the background and selected: ā€œCreate New Text Fileā€ and named it: fonts.conf
  4. Opened my new file with ā€œKateā€ and added the code below this and then saved he file. And when I opened Open Office again it was working! THANK YOU cscs!
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <!-- Local settings -->
 <selectfont>
    <rejectfont>
       <glob>/usr/share/fonts/noto/Noto*</glob>
       <glob>/usr/share/fonts/gsfonts/*</glob>
       <glob>/usr/share/fonts/TTF/DejaVuMathTeX*</glob>
       <glob>/usr/share/fonts/TTF/odo*</glob>
       <glob>/usr/share/fonts/mathjax2/*</glob>
       <glob>/usr/share/fonts/croscore/*</glob>
       <glob>/usr/share/fonts/adobe-source-code-pro/Source*</glob>
       <glob>/usr/share/fonts/adobe-source-han-sans/Source*</glob>
    </rejectfont>
    <acceptfont>

    </acceptfont>
 </selectfont>
</fontconfig>
2 Likes

Hurray. And, as you can see there, you can add or remove groups as desired.

Heres a little snippet to list them for you, excluding ones you already are rejecting:

find /usr/share/fonts/ -type f | grep -v -iE 'noto|gsfont|adobe-source'

Iā€™ve used this solution and Iā€™ve found it very helpful. I think youā€™ll find Manjaro and Linux in general is very flexible, allowing the user to setup their system the way they want it. And youā€™ve discovered that itā€™s pretty easy, even for a newbie!

And keep asking questions and searching for answers on the forum. There are many very knowledgeable and helpful people here.

Cheers!

1 Like

Iā€™d like to add that the Softmaker FreeOffice allows you to show or hide the fonts it shows in the font list. I discovered this just recently in the settings of the new version and managed to hide all the Noto foreign language fonts, etc very easily.

I also donā€™t think itā€™s a good idea to remove the unwanted fonts completely as it wouldnā€™t make a great deal of difference space wise and it looks better when viewing web pages, etc if the foreign characters are at least visible.

1 Like

The option I chose was to install and use the font-manager. Libreoffice Writer is so MUCH nicer to use with a sane font list :slight_smile:

font-manager created a file ~/.config/fontconfig/conf.d/78-Reject.conf.

When I have time Iā€™m investigating not installing a number of fonts via pacman.conf NoExtract per: Disk size Noto fonts huge? - #4 by papajoke

Without wanting to do any unauthorized advertising here, I would like to point out another advantage that SoftMaker (Free)Office has to offer: It comes including some of the often used MS fonts like Arial, Times New Roman, Calibri and Cambria. You can only use them within SoftMaker (Free)Office, since they are not installed system-wide, but even those who donā€™t normally use these fonts personally will inevitably run into the situation now and then where they need to edit documents that require these fonts. For LibreOffice users who want to avoid a separate installation of MS fonts, it is thus an interesting alternative of a word processing program that is worth having up your sleeve.

1 Like

First I want to thank everyone for their input here! This kind of help will help others who want answers.

I have to confess I have a major weakness I am a long time fan of OpenOffice. I canā€™t even stand to use LibreOffice. So I download OO from the AUR repository not sure why itā€™s not on Manjaro repositories. BUT I will check into that SoftMaker as I am always open to checking out new software.

I actually like to learn things like what cscs taught me here. But I am a ā€œwhy personā€ I want to know why Linux and OO are going to obey me if I create a folder and a config file. And I like to learn how to make computers my servants not my masters.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.