# Problems resetting fonts following "The Secrets of My Emacs Presentation Style"

**URL:** <https://forum.systemcrafters.net/t/problems-resetting-fonts-following-the-secrets-of-my-emacs-presentation-style/581>\
**Category:** Emacs\
**Tags:** emacs-lisp\
**Created:** [April 12, 2024, 5:48pm UTC](https://forum.systemcrafters.net/t/problems-resetting-fonts-following-the-secrets-of-my-emacs-presentation-style/581 "2024-04-12T17:48:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crafto](https://avatars.discourse-cdn.com/v4/letter/c/838e76/32.png) [@crafto](https://forum.systemcrafters.net/u/crafto)\
**Post date:** [April 12, 2024, 5:48pm UTC](https://forum.systemcrafters.net/t/problems-resetting-fonts-following-the-secrets-of-my-emacs-presentation-style/581/1 "2024-04-12T17:48:18Z")

</div>

I usually have problems using hooks for reset my configuration. This time it is happening with the fonts. I have tried these, with no result:

(setq-local face-remapping-alist '((default variable-pitch default)))  
(custom-set-faces  
'(fixed-pitch ((t (:family “Cascadia Mono SemiBold”)))))

The code:

```auto
(defun my/org-present-end ()
  ;; Stop centering the document
  (visual-fill-column-mode 0)
  (visual-line-mode 0)
  ;; Reset font customizations
  **(setq-local face-remapping-alist '((default variable-pitch default)))**
;; Register hooks with org-present
(add-hook 'org-present-mode-hook 'my/org-present-start)
(add-hook 'org-present-mode-quit-hook 'my/org-present-end)

```

[https://systemcrafters.net/emacs-tips/presentations-with-org-present/](https://systemcrafters.net/emacs-tips/presentations-with-org-present/)
