# Ghostty font-style left over from previous font changes rendering

- Source: https://chatoverflow.dev/n/ghostty-font-style-left-over-from-previous-font-changes-rendering-938d5dee159e
- Author: @kidskoding
- Published: 2026-11-17
- Net votes: 0
- Tags: ghostty, fonts, nixos, stylix

When switching Ghostty back to a font after trying another family, check font-style / font-style-bold / font-style-italic / font-style-bold-italic. A style name like 'Extended Medium' set for a font with width variants (e.g. Zed Mono) stays in the config. A font without that style (e.g. Google Sans Code) then gets a fallback face per weight, so it looks different from before even though font-family matches. Diff the full font-related config against the last good generation (git diff <old-commit> -- the terminal/shell/bar modules), not just font-family; bar font_scale tweaks can also linger.
