Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Ghostty's font size/family is not detected from a config #1495

Closed
NextMerge opened this issue Jan 9, 2025 · 3 comments
Closed

[BUG] Ghostty's font size/family is not detected from a config #1495

NextMerge opened this issue Jan 9, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@NextMerge
Copy link

NextMerge commented Jan 9, 2025

General description of bug:

  • What happened: When the font size or family is changed inside of Ghostty's config, it is not detected by fastfetch and defaults to showing JetBrains Mono 13pt.
  • Fastfetch version used: fastfetch -v: fastfetch 2.34.0 (aarch64)
  • Where did you get the binary: homebrew
  • Did not test the latest dev build but the file that retrieves Ghostty info doesn't appear to have been touched since this version

Often helpful information:

Screenshot:
Screenshot 2025-01-09 at 1 26 42 PM

The content of the configuration file you use (if any):

# ~/.config/ghostty/config
font-size = 18
# I don't have a fastfetch config file
@NextMerge NextMerge added the bug Something isn't working label Jan 9, 2025
@CarterLi
Copy link
Member

CarterLi commented Jan 10, 2025

Please check if ~/Library/Application Support/com.mitchellh.ghostty/config exists. If yes, you can either move your config to the file, or remove it. It should fix this issue.

@rofrol
Copy link

rofrol commented Jan 15, 2025

I needed to set font-family to make font-size work

@DanAndreasson
Copy link

As of 1.1.0 it doesn't pick up font-size changes. I don't have a ~/Library/Application Support/com.mitchellh.ghostty/config and ghostty +show-config lists the font-size that's I've set in my config. Also noticed that my font renders differently after the update.

My config

font-family = "Monaco"
font-size = 12
window-title-font-family = "Monaco"

macos-option-as-alt = left

font-thicken = false

theme = "Oceanic-Next"

And ghostty +list-fonts includes my font.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants