From 3e2c930ce04594c845b9ff44c91a48f24d5f8d20 Mon Sep 17 00:00:00 2001 From: Ian Holloway <72767437+IanHollow@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:06:06 -0500 Subject: [PATCH] ghostty: convert font-size setting from pt to px (#1971) Closes: https://github.com/nix-community/stylix/issues/1965 Link: https://github.com/nix-community/stylix/pull/1971 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> --- modules/ghostty/hm.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ghostty/hm.nix b/modules/ghostty/hm.nix index f4a1668d..f10be2b3 100644 --- a/modules/ghostty/hm.nix +++ b/modules/ghostty/hm.nix @@ -15,7 +15,9 @@ mkTarget { fonts.monospace.name fonts.emoji.name ]; - font-size = fonts.sizes.terminal; + + # 4/3 factor used for pt to px; + font-size = fonts.sizes.terminal * 4.0 / 3.0; }; } )