Overview
The font playground is a non-persistent testing environment - changes here do not affect your actual settings. It’s designed for experimentation with fonts installed on your system.The font playground does not set any actual settings. It’s purely for preview purposes.
Features
The playground provides controls to test:Font Family
Type any font name installed on your system
Font Size
Adjust from 4px to 60px with a slider
Bold
Toggle bold weight (font-weight: 700)
Italic
Toggle italic style
Implementation
The font playground (views/FontPreview.svelte:1) uses reactive Svelte state to apply CSS styles dynamically:Preview Content
The playground displays a sample terminal output showing:- Command prompt with colors
- File listings with different color highlights
- Unicode characters (Japanese text: 実行可能ファイル)
- Symbolic links with arrows
- Powerline icons for font ligature testing
Testing Different Font Types
Monospace Fonts
Ideal for terminal use, these fonts have fixed character widths:Fonts with Ligatures
Test programming ligatures for=>, !=, >=, etc.:
Nerd Fonts
Test icon rendering with Nerd Font variants:Browser Limitations
The font family input accepts:- Single font names:
JetBrains Mono - Font stacks:
JetBrains Mono, Fira Code, monospace - Generic families:
monospace,sans-serif,serif
Comparing with Actual Settings
The playground uses your current color scheme from the settings editor, so you can see how fonts look with your chosen colors:var(--config-palette-0)throughvar(--config-palette-15)
Font Settings in Ghostty
Once you’ve found a font you like, configure it in Ghostty:Basic Font Configuration
Font Styles
Ghostty supports separate fonts for different styles:Font Style Names
Some fonts require explicit style names:Advanced Font Settings
The playground doesn’t expose these, but Ghostty supports:- Font variations - Variable font axes (wght, slnt, etc.)
- Font features - OpenType features like ligatures, alternates
- Font thickening - Increase stroke weight (macOS only)
- Cell adjustments - Fine-tune character spacing and alignment
Testing Checklist
When testing fonts, verify:- Character width - All characters should be monospace
- Line height - Lines should be evenly spaced
- Bold rendering - Bold text should be readable
- Italic rendering - Italics should be clear
- Unicode support - Non-Latin characters render correctly
- Icon support - Powerline/Nerd Font icons display
- Ligature support - If desired, ligatures render
- Color contrast - Text is readable with your color scheme
Related Features
Settings Editor
Configure actual font settings
Live Previews
See font changes in real-time
Recommended Fonts
For Programming
- JetBrains Mono - Excellent ligatures, great readability
- Fira Code - Popular ligature font
- Cascadia Code - Microsoft’s developer font
For Readability
- Berkeley Mono - Humanist design, easy on eyes
- IBM Plex Mono - Clean, professional
- Source Code Pro - Adobe’s open-source font
For Compactness
- Iosevka - Narrow, space-efficient
- SF Mono - Apple’s system font (macOS)
- Menlo - Default terminal font (macOS)
External Resources
- Nerd Fonts - Patched fonts with icons
- Programmings Fonts - Test fonts in browser
- Ghostty Font Docs