 
 ;;;###autoload
 (defun doom/increase-font-size (count)
-  "Enlargens the font size across the current frame."
+  "Enlargens the font size across the current and child frames."
   (interactive "p")
-  (let ((zoom-factor (or (frame-parameter nil 'font-scale) 0))
-        (increment (* count doom-font-increment)))
-    (setq zoom-factor (+ zoom-factor increment))
-    (doom-adjust-font-size increment)
-    (set-frame-parameter nil 'font-scale zoom-factor)
-    (run-hooks 'doom-change-font-size-hook)))
+  (doom-adjust-font-size count))
 
 ;;;###autoload
 (defun doom/decrease-font-size (count)
-  "Shrinks the font size across the current frame."
+  "Shrinks the font size across the current and child frames."
   (interactive "p")
-  (doom/increase-font-size (- count)))
+  (doom-adjust-font-size (- count)))
 
 ;;;###autoload
 (defun doom/reset-font-size ()

(defun doom-adjust-font-size (increment &optional frame)
  "Increase size of font in FRAME by INCREMENT.
FRAME parameter defaults to current frame."
  (let* ((frame (or frame (selected-frame)))
         (font (frame-parameter frame 'font))
         (font (doom--font-name font frame)))
    (let ((new-size (+ (string-to-number (aref font xlfd-regexp-pixelsize-subnum))
                       increment)))
      (unless (> new-size 0)
        (error "Font is too small at %d" new-size))
      (aset font xlfd-regexp-pixelsize-subnum (number-to-string new-size)))
    ;; Set point size & width to "*", so frame width will adjust to new font size
    (aset font xlfd-regexp-pointsize-subnum "*")
    (aset font xlfd-regexp-avgwidth-subnum "*")
    (setq font (x-compose-font-name font))
    (unless (x-list-fonts font)
      (error "Cannot change font size"))
    (set-frame-parameter frame 'font font)))


;;

               (/= text-scale-mode-amount 0))
      (text-scale-set 0)
      (setq success t))
    (when (doom-adjust-font-size nil)
      (setq success t))
    (unless success
      (user-error "The font hasn't been resized"))))

;;;###autoload
(define-minor-mode doom-big-font-mode
