I ain't no expert on fonts. Let me know if this works for you (It's supposed to set font size to be 20):
(let ((fsize 20) ;; font size
(fs (font-spec :name (frame-parameter nil 'font))))
(font-put fs :size fsize)
(set-frame-font fs nil t)
(let ((new-font (frame-parameter nil 'font))
(current-default (assq 'font default-frame-alist)))
I found the answer. Doing this does the trick:
:hook (org-mode . mixed-pitch-mode)
(setq mixed-pitch-set-heigth t)
(set-face-attribute 'variable-pitch nil :height 1.3))
I have set the height for my normal font to 1.0:
(setq doom-font (font-spec :family "Fira Code" :style "Retina" :size 14 :height ...
So, I have found 2 solutions for 2 different terminal emulators.
with Kitty terminal emulator
with Alacritty terminal emulator
Using the Kitty terminal emulator I had the same issue, I was following the emacs FAQ
The fix was to do use=xterm-kitty instead of use=xterm-256color.
So I used:
xterm-emacs|xterm with 24-bit direct color mode for Emacs,
I think you want something like this where you only apply the face to part of the match, in this case we mark log as group 1, and only apply the face to it. This pattern won't match the other places you show log above.
'(("\\(log\\)(.*)" 1 font-lock-builtin-face)))