File size: 1,956 Bytes
292d92c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
---
description: List installed fonts and offer to install additional fonts
tags: [fonts, typography, system, customization, project, gitignored]
---
You are helping the user review their installed fonts and install additional ones if requested.
## Process
1. **List currently installed fonts**
- System fonts: `fc-list | cut -d: -f2 | sort -u | wc -l` (count)
- Show font families: `fc-list : family | sort -u`
- List font directories:
- System: `/usr/share/fonts/`
- User: `~/.local/share/fonts/`
2. **Categorize installed fonts**
- Serif fonts
- Sans-serif fonts
- Monospace/coding fonts
- Display/decorative fonts
- Icon fonts
3. **Check for common font packages**
- `dpkg -l | grep -E "fonts-|ttf-"`
- Common packages:
- `fonts-liberation`
- `fonts-noto`
- `fonts-roboto`
- `ttf-mscorefonts-installer`
- `fonts-powerline`
4. **Suggest useful font additions**
**For coding:**
- Fira Code (ligatures)
- JetBrains Mono
- Cascadia Code
- Victor Mono
- Source Code Pro
**For design:**
- Inter
- Poppins
- Montserrat
- Raleway
**System fonts:**
- Noto fonts (comprehensive Unicode)
- Liberation fonts (MS Office compatible)
**Icons:**
- Font Awesome
- Material Design Icons
- Nerd Fonts
5. **Installation methods**
- APT: `sudo apt install fonts-<name>`
- Manual installation:
```bash
mkdir -p ~/.local/share/fonts
# Copy font files to directory
fc-cache -fv
```
- Google Fonts downloader (see separate command)
6. **Test font installation**
- Refresh font cache: `fc-cache -fv`
- Verify font: `fc-list | grep -i <font-name>`
- Show sample: `fc-match <font-name>`
## Output
Provide a report showing:
- Total number of installed font families
- List of installed fonts by category
- Missing commonly-used fonts
- Suggested fonts to install based on use case
- Installation commands
|