Skip to content

Conversation

@arturhg
Copy link
Contributor

@arturhg arturhg commented Jan 15, 2026

Summary

  • Use fc-list command to get font files directly on Linux (works on NixOS and other non-standard setups)
  • Add XDG_DATA_DIRS environment variable support in fallback directory scanning
  • Fix threading bug: wrap error notification in Platform.runLater()
  • Add ~/.local/share/fonts to standard font directories
  • Refactor code with constants and cleaner structure

Closes #224

Test plan

  • Verify fonts appear in dropdown on standard Linux
  • Test on NixOS or system with non-standard font paths

…d setups

- Use fc-list to get font files directly (primary method for Linux)
- Add XDG_DATA_DIRS support in fallback directory scanning
- Fix threading bug: wrap notification in Platform.runLater()
- Add ~/.local/share/fonts to standard font directories
- Refactor code with constants and cleaner structure

Closes ClementGre#224
@arturhg arturhg changed the title fix(fonts): improve font discovery on Linux for NixOS and non-standard setups Improve font discovery on Linux for NixOS and non-standard setups Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Font error

1 participant