Sample Header Ad - 728x90

Setting the default style of a font in fonts.conf

0 votes
2 answers
4971 views
I'm trying to set the default style of a font in fonts.conf because for whatever reason the bold version always gets matched:
$ fc-match monospace
LigaOperatorMonoSSm-Bold.otf: "Liga Operator Mono SSm" "Bold"
This is my fonts.conf:
true

  
    Liga Operator Mono SSm
    Medium
  

  
    serif
    Circular Std
  
  
    sans-serif
    Circular Std
  
  
    sans
    Circular Std
  
  
    monospace
    Liga Operator Mono SSm
  
  
    terminal
    Liga Operator Mono SSm
As you can see, I've tried to set the default width to Medium but it unfortunately does not work. These are the available styles:
/usr/share/fonts/OTF/LigaOperatorMonoSSm-LightItalic.otf: Liga Operator Mono SSm:style=Light Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-MediumItalic.otf: Liga Operator Mono SSm:style=Medium Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Medium.otf: Liga Operator Mono SSm:style=Medium,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-BoldItalic.otf: Liga Operator Mono SSm:style=Bold Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Book.otf: Liga Operator Mono SSm:style=Book,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Bold.otf: Liga Operator Mono SSm:style=Bold,Regular
/usr/share/fonts/OTF/LigaOperatorMonoSSm-BookItalic.otf: Liga Operator Mono SSm:style=Book Italic,Italic
/usr/share/fonts/OTF/LigaOperatorMonoSSm-Light.otf: Liga Operator Mono SSm:style=Light,Regular
Does anyone see where the mistake is? Thanks!
Asked by malte-v (101 rep)
Apr 1, 2020, 07:11 PM
Last activity: May 31, 2025, 10:06 PM