You are not logged in.

#1 2020-11-17 00:15:18

spitemim
Member
Registered: 2020-11-17
Posts: 5

How to configure default fonts?

I have tried installing fonts, configuring them in ~/.config/fontconfig/fonts.conf. I'm running Openbox.

Offline

#2 2020-11-17 00:20:31

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: How to configure default fonts?

spitemim wrote:

I have tried installing fonts, configuring them in ~/.config/fontconfig/fonts.conf. I'm running Openbox.

What fonts have you installed and what have you done with fonts.conf?
Aka, post fonts.conf.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-11-17 00:25:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: How to configure default fonts?

And what do you mean by "default fonts"?  Default for what?  What programs do you want to affect?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-11-17 02:58:42

spitemim
Member
Registered: 2020-11-17
Posts: 5

Re: How to configure default fonts?

GaKu999 wrote:
spitemim wrote:

I have tried installing fonts, configuring them in ~/.config/fontconfig/fonts.conf. I'm running Openbox.

What fonts have you installed and what have you done with fonts.conf?
Aka, post fonts.conf.


I have installed Google Noto fonts.

Here is the output of cat ~/.config/fontconfig/fonts.conf:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

 <alias>
  <family>sans-serif</family>
  <prefer>
   <family>Noto Sans</family>
  </prefer>
 </alias>

 <alias>
  <family>serif</family>
  <prefer>
   <family>Noto Serif</family>
  </prefer>
 </alias>

 <alias>
  <family>monospace</family>
  <prefer>
   <family>Noto Sans Mono</family>
  </prefer>
 </alias>

  <!-- Aliases for commonly used MS fonts. -->
  <match>
    <test name="family"><string>Arial</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Helvetica</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Verdana</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Tahoma</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans</string>
    </edit>
  </match>
  <match>
    <!-- Insert joke here -->
    <test name="family"><string>Comic Sans MS</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Times New Roman</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Serif</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Times</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Serif</string>
    </edit>
  </match>
  <match>
    <test name="family"><string>Courier New</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Sans Mono</string>
    </edit>

</fontconfig> 

Last edited by spitemim (2020-11-17 03:00:47)

Offline

#5 2020-11-17 03:03:08

spitemim
Member
Registered: 2020-11-17
Posts: 5

Re: How to configure default fonts?

Trilby wrote:

And what do you mean by "default fonts"?  Default for what?  What programs do you want to affect?

When I log into Openbox, my tint2 panel looks like this: https://i.imgur.com/hvncDeh.png

Other programs like Firefox and Kdenlive look like this when I start them, I can get Firefox looking decent after manual configuration but Kdenlive does not obey.

Offline

#6 2020-11-17 08:07:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,696

Re: How to configure default fonts?

https://wiki.archlinux.org/index.php/Fo … ault_fonts
https://wiki.archlinux.org/index.php/Ti … figuration

Also the screenshot pretty much looks like Noto Sans - what makes you believe it's not.
If the problem is actually only about kdenlive, you'd have to make that clear - and illustrate the problem w/ a screenshot of it, not the stuff that works.

Online

Board footer

Powered by FluxBB