[SOLVED] Does Fedora use /etc/fonts/local.conf?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux (Fedora) Firefox 63.0

    Question Does Fedora use /etc/fonts/local.conf?

    I use Fedora on my notebook and Arch on my desktop. Last night, I found a way to make my fonts display much better on Arch by replacing file /etc/fonts/local.conf with a version from github.

    This morning, I decided to try the same thing on Fedora. But, when I went to /etc/fonts, there was no file local.conf. So, I just added the file from github. I rebooted the system. But there was no change to the fonts displayed.

    Does Fedora even use that file?

    I'm running Fedora 29 with Gnome and Wayland. My Arch system uses Openbox and pure Xorg.

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,804
    Linux Chrome 70.0.3538.77

    Re: Does Fedora use /etc/fonts/local.conf?

    You didn't look very far.

    /etc/fonts/conf.d/51-local.conf

  3. #3
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux (Fedora) Firefox 63.0

    Re: Does Fedora use /etc/fonts/local.conf?

    Thanks. I don't understand why that kind of stuff isn't standardized. Things would be so much easier.

  4. #4
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux (Fedora) Firefox 63.0

    Re: Does Fedora use /etc/fonts/local.conf?

    Thanks again. My fonts now look better. Maybe not as good as on Arch, but better.

  5. #5
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux Firefox 65.0

    Re: Does Fedora use /etc/fonts/local.conf?

    PS - Even after you told me what to look for, it still wasn't easy to find specific documentation. And, even when I found it, there is still misdirection involved.

    Documentation: https://fedoraproject.org/wiki/Fontc...packaging_tips

    Misdirection: The documentation points you to /etc/fonts/conf.d. But the actual files are linked from another location (in /usr/share/fonts, I think). IMO, this is all unnecessarily complicated.

  6. #6
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,804
    Linux Chrome 70.0.3538.77

    Re: Does Fedora use /etc/fonts/local.conf?

    There are no symbolic links in /usr/share/fonts.
    Code:
    $ ll /usr/share/fonts/
    total 168
    drwxr-xr-x. 2 root root  4096 Jun 13 18:04 abattis-cantarell
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 cjkuni-uming
    drwxr-xr-x. 3 root root  4096 May 10 11:48 default
    drwxr-xr-x. 2 root root  4096 Jun 13 18:04 dejavu
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 eosrei-emojione
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 gdouros-symbola
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 gnu-free
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 google-droid
    drwxr-xr-x. 2 root root 12288 Jun 13 19:00 google-noto
    drwxr-xr-x. 2 root root  4096 Aug 17 09:01 google-noto-emoji
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 jomolhari
    drwxr-xr-x. 2 root root  4096 Jul 12 21:34 khmeros
    drwxr-xr-x. 2 root root  4096 Oct 17 19:02 liberation
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lklug
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-assamese
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-bengali
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-devanagari
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-gujarati
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-gurmukhi
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-kannada
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-odia
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-tamil
    drwxr-xr-x. 2 root root  4096 Jun 13 19:02 lohit-telugu
    drwxr-xr-x. 2 root root  4096 Sep 27 12:33 lyx
    drwxr-xr-x. 2 root root  4096 Oct 29  2013 msttcorefonts
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 naver-nanum
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 paktype-naqsh
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 paratype-pt-sans
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 sil-abyssinica
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 sil-nuosu
    drwxr-xr-x. 2 root root  4096 Jul 19 09:00 sil-padauk
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 smc
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 stix
    drwxr-xr-x. 2 root root 12288 Jun 13 19:01 terminus
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 thai-scalable
    drwxr-xr-x. 2 root root  4096 Jun 20 20:04 urw-base35
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 vlgothic
    drwxr-xr-x. 2 root root  4096 Jun 13 19:01 wqy-zenhei
    Finding the local.conf fonts file is super easy, as long as you aren't averse to using the locate command in a terminal.
    Code:
    $ locate local.conf
    /etc/fonts/conf.d/51-local.conf
    /etc/lvm/lvmlocal.conf
    /usr/share/fontconfig/conf.avail/51-local.conf
    /usr/share/sssd/sssd.api.d/sssd-local.conf
    The /etc/fonts/conf.d/51-local.conf file is a symbolic link to the actual file in /usr/share/fontconfig/conf.avail/51-local.conf.

    Code:
    $ file /etc/fonts/conf.d/51-local.conf
    /etc/fonts/conf.d/51-local.conf: symbolic link to /usr/share/fontconfig/conf.avail/51-local.conf
    
    $ file /usr/share/fontconfig/conf.avail/51-local.conf
    /usr/share/fontconfig/conf.avail/51-local.conf: XML 1.0 document, ASCII text

  7. #7
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,497
    Linux Chrome 70.0.3538.77

    Re: Does Fedora use /etc/fonts/local.conf?

    you can have a per user .fonts.conf in your /home/ folder which will be picked up by the system

    arch uses a modified build of freetype as compared to the standard version fedora uses. anyhow, refer to this fedora 20 xfce guide and do the steps in section 5 and you may get better results with his modified fonts.conf configuration (probably the same one you grabbed from github?). They are of course subjective to personal taste and screen technology though.

  8. #8
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux (Fedora) Firefox 63.0

    Re: Does Fedora use /etc/fonts/local.conf?

    Ok, I apologize. I looked at the Freetype documentation for font-conf, and it describes it the way Fedora implements it, mostly. I am the one that needs to dig in and learn how it should be done.

    Thanks for your help, especially PabloTwo.
    Last edited by tim8723; 9th November 2018 at 03:15 PM.

  9. #9
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,497
    Linux Chrome 70.0.3538.77

    Re: Does Fedora use /etc/fonts/local.conf?

    no need to apologise that's what we're here for to help with stuff like this, sometimes upstream information can over-complicate matters a bit so blog posts by other users knowledgable of linux tweaking like silvermoon, who can also write in an easy to follow manner can be a godsend

  10. #10
    Join Date
    Mar 2017
    Location
    USA
    Posts
    80
    Linux (Fedora) Firefox 63.0

    Re: Does Fedora use /etc/fonts/local.conf?

    Quote Originally Posted by tim8723
    Ok, I apologize. I looked at the Freetype documentation for font-conf, and it describes it the way Fedora implements it, mostly. I am the one that needs to dig in and learn how it should be done.

    Thanks for your help, especially PabloTwo.
    Thank you.

Similar Threads

  1. Replies: 2
    Last Post: 5th April 2007, 12:54 AM
  2. vi /usr/local/apache2/conf/httpd.conf
    By tidy_boy in forum Servers & Networking
    Replies: 3
    Last Post: 1st May 2006, 12:09 AM
  3. Windows fonts guide(Including my .fonts.conf)
    By liraz in forum Guides & Solutions (Not For Questions)
    Replies: 1
    Last Post: 25th June 2005, 05:24 AM
  4. .fonts.conf, Disabling AA only for windows fonts.
    By liraz in forum Using Fedora
    Replies: 1
    Last Post: 27th April 2005, 01:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •