Protesilaos Stavrou writes: > Hello everyone, > > I am working on a new package called 'show-font'. It is a major mode for > ".ttf" and ".otf" files (font files). It previews the current font, if > available on the system, else it produces a helpful message that the > font is not installed and thus cannot be previewed. > > These are early days. My immediate goals include the following: > > - Make it work on other operating systems beside GNU/Llinux. > - Let users install a font file (OS-dependent). > - Preview a font that is not installed on the system. > > I attach the patch I want to commit to elpa.git. Please let me know if > you have any thoughts about this. > > All the best, > Protesilaos (or simply "Prot") > > -- > Protesilaos Stavrou > https://protesilaos.com > > From 6d0b5b4555c3ad80840c7260a276904c48fdf84e Mon Sep 17 00:00:00 2001 > Message-ID: <6d0b5b4555c3ad80840c7260a276904c48fdf84e.1725441140.git.info@protesilaos.com> > From: Protesilaos Stavrou > Date: Wed, 4 Sep 2024 12:11:37 +0300 > Subject: [PATCH] * elpa-packages (show-font): Add new package > > --- > elpa-packages | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/elpa-packages b/elpa-packages > index 6bac9fb..7434a5d 100644 > --- a/elpa-packages > +++ b/elpa-packages > @@ -680,6 +680,8 @@ > (shell-command+ :url "https://git.sr.ht/~pkal/shell-command-plus") > (shell-quasiquote :url nil) > (shen-mode :url nil) > + (show-font :url "https://github.com/protesilaos/show-font" > + :readme "README.md") > (sisu-mode :url nil) > (site-lisp :url "https://git.sr.ht/~pkal/site-lisp") > (sketch-mode :url "https://github.com/dalanicolai/sketch-mode") A few comments on the code here: