voidrice/.config/fontconfig/fonts.conf
Kipras Melnikovas 693c4317f5
Add Braille font family to monospace @ fontconfig (#901)
Some programs like `gotop` [1] or `bottom` / `btm` [2] weren't displaying properly, and I was able to fix the glyphs with the Braille font (don't recall where I found the recommendation).

Don't forget to 

```sh
fc-cache -fv --really-force
```

Also beware of stuff like [4].

needs `ttf-ubraille` [3] so an update in LARBS progs.csv would be needed aswell

[1] https://aur.archlinux.org/packages/gotop
[2] https://aur.archlinux.org/packages/bottom-bin
[3] https://aur.archlinux.org/packages/ttf-ubraille
[4]  https://wiki.archlinux.org/index.php/Font_configuration#Disable_scaling_of_bitmap_fonts
2021-06-24 20:52:27 -04:00

36 lines
775 B
XML
Executable file

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Linux Libertine</family>
<family>Joy Pixels</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Linux Biolinum</family>
<family>Joy Pixels</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Linux Biolinum</family>
<family>Joy Pixels</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Sans Mono</family>
<family>Liberation Mono</family>
<family>Braille</family>
</prefer>
</alias>
</fontconfig>