Add notes on installing and updating fonts

- Added instructions for downloading, extracting, and copying font files.
- Included steps to update the font cache with explanations of `fc-cache` options.
This commit is contained in:
Fabrice Quenneville 2024-09-23 17:59:28 -04:00
parent 51c0b3312c
commit aeae8e4ab1

View File

@ -13,6 +13,7 @@
- [Switch User](#switch-user)
- [USB Devices](#usb-devices)
- [Test USB Key](#test-usb-key)
- [Fonts](#fonts)
## System Information
@ -261,3 +262,38 @@ Unmount the USB key and safely remove it from the system:
umount /mnt/usb
eject /dev/sdc
```
## Fonts
**Download and Install Fonts**
1. **Download the Font Archive**:
```bash
wget https://path/to/font/archive.tar.gz
```
2. **Extract the Font Files**:
```bash
tar -xzvf font-archive.tar.gz
```
3. **Copy the Font Files to the Local Fonts Directory**:
```bash
cp -v *.ttf ~/.local/share/fonts/
```
**Update the Font Cache**
**Force a Reload of the Installed Font Cache**:
```bash
sudo su -
fc-cache -fv
fc-cache -frv
```
- **`-f`**: Force re-generation of apparently up-to-date cache files, overriding the timestamp checking.
- **`-r`**: Erase all existing cache files and rescan.
- **`-v`**: Display status information while busy.