Skip to content

Commit

Permalink
config/graphical-session: hint to font installation for compositors
Browse files Browse the repository at this point in the history
Some Wayland compositors don't include fonts by default, so describe how they
should be installed
  • Loading branch information
ethamck committed Aug 17, 2024
1 parent 8e7053a commit f5f0da8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/config/graphical-session/fonts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Fonts

A number of fonts and font collections are [available from
XBPS](../../xbps/index.md#finding-files-and-packages). `dejavu-fonts-ttf` or
`xorg-fonts` are a good baseline if you're unsure of what to pick.
`noto-fonts-ttf` contains fonts for many languages and scripts. `noto-fonts-cjk`
extends this with fonts for Chinese, Japanese, and Korean, and
`noto-fonts-emoji` provides emojis. `nerd-fonts` provides a number of fonts with
special characters like custom icons included.

Fonts not available from XBPS can be manually installed to either
`/usr/share/fonts` (system-wide) or `~/.local/share/fonts` (per-user).

To customize font display in your graphical session, you can use configurations
provided in `/usr/share/fontconfig/conf.avail/`. To do so, create a symlink to
the relevant `.conf` file in `/etc/fonts/conf.d/`, then use
Expand Down
3 changes: 3 additions & 0 deletions src/config/graphical-session/wayland.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Void Linux currently packages the following Wayland compositors:
- labwc: a window-stacking compositor, inspired by Openbox
- Qtile: a dynamic tiling Wayland compositor (via qtile-wayland)

Some compositors do not depend on any [fonts](./fonts.md), which can cause many
applications to not work. Install a font package to fix this.

### Video drivers

Both GNOME and KDE Plasma have EGLStreams backends for Wayland, which means they
Expand Down

0 comments on commit f5f0da8

Please sign in to comment.