From 271b9e4b57996def5a8159949804e4768b1a69be Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 12 May 2021 11:05:04 -0400 Subject: [PATCH] Have some fun with my handwriting font --- emacs/.emacs.d/config/handwriting.el | 14 ++++++++++++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 15 insertions(+) create mode 100644 emacs/.emacs.d/config/handwriting.el diff --git a/emacs/.emacs.d/config/handwriting.el b/emacs/.emacs.d/config/handwriting.el new file mode 100644 index 0000000..3f84aef --- /dev/null +++ b/emacs/.emacs.d/config/handwriting.el @@ -0,0 +1,14 @@ +;; -*- lexical-binding: t; -*- + +;;;###autoload +(defface handwriting + '((t :family "Jeremy Sans")) + "A face with handwritten font") + +;;;###autoload +(defun handwrite () + "Make the buffer look handwritten" + (interactive) + (buffer-face-set 'handwriting)) + +(provide 'handwriting) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 67083d1..03620c0 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -110,6 +110,7 @@ (require 'init-1pass) (require 'init-wallabag) (require 'init-lola) +(require 'handwriting) (when (file-exists-p custom-file) (load custom-file 'noerror 'nomessage))