From 2b54931beee353f294fb9c1ffa0cb331d3a44181 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 20 Feb 2022 13:29:12 -0800 Subject: ui: set proper font size when running with pgkt As I'm slowly moving to wayland for the X server, I need to add pgkt to the possible list of window system (pgkt == pure gtk). --- emacs/custom/fcuny-ui.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/custom') diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el index e7b0019..9b255f6 100644 --- a/emacs/custom/fcuny-ui.el +++ b/emacs/custom/fcuny-ui.el @@ -35,8 +35,8 @@ (setq ns-use-native-fullscreen nil)) (when (boundp 'mac-allow-anti-aliasing) (setq mac-allow-anti-aliasing t))) - (when (memq window-system '(x)) - (set-frame-font "Source Code Pro-11") + (when (memq window-system '(x pgtk)) + (set-frame-font "Source Code Pro-12") ;; this is a fall back in the case we have Unicode characters. ;; For example, with this settings, the following source is ;; rendered correctly 😇 😀 and 🤢 -- cgit 1.4.1