I can not change family and size of a custom fontset in buffer-face-mode. Below is the minimal test config
(create-fontset-from-fontset-spec (font-xlfd-name (font-spec :registry "fontset-mine" :family "SF Pro" :weight 'regular :slant 'normal :width 'normal))) (defun org-mode-set-face () ;; (buffer-face-set :family "SF Pro" :height 1.50) ; works (buffer-face-set :family "fontset-mine" :height 1.50)) ; does not work (add-hook 'org-mode-hook #'org-mode-set-face) (Note that describe-char on t of texts shows that it uses a different font instead.)
- Emacs version:
GNU Emacs 28.1 (build 1, x86_64-apple-darwin21.5.0, Carbon Version 165 AppKit 2113.5) of 2022-07-0 - OS: macOS 12.5 (21G72)
