muffinmad / emacs-mini-frame

Show minibuffer in child frame on read-from-minibuffer
GNU General Public License v3.0
314 stars 20 forks source link

How change font size #53

Closed luotom closed 2 years ago

luotom commented 2 years ago

Hello author, I want to ask if I can change font size, and how to change font size. Thanks

muffinmad commented 2 years ago

Hi!

Try to set the font frame parameter in the mini-frame-show-parameters variable.

Also you can change font size for minibuffer like this:

(defun my-minibuffer-setup ()
       (set (make-local-variable 'face-remapping-alist)
          '((default :height 1.5))))

(add-hook 'minibuffer-setup-hook 'my-minibuffer-setup)
luotom commented 2 years ago

Hi!

Try to set the font frame parameter in the mini-frame-show-parameters variable.

Also you can change font size for minibuffer like this:

(defun my-minibuffer-setup ()
       (set (make-local-variable 'face-remapping-alist)
          '((default :height 1.5))))

(add-hook 'minibuffer-setup-hook 'my-minibuffer-setup)

thanks,It worked.