From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.devel Subject: [ELPA] Add new 'show-font' package? Date: Wed, 04 Sep 2024 12:21:50 +0300 Message-ID: <87msknu635.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11986"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 04 11:22:50 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1slmDx-000305-K9 for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Sep 2024 11:22:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slmDE-0005c7-FA; Wed, 04 Sep 2024 05:22:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slmDC-0005be-B2 for emacs-devel@gnu.org; Wed, 04 Sep 2024 05:22:02 -0400 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slmD7-000103-Ko for emacs-devel@gnu.org; Wed, 04 Sep 2024 05:22:01 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 101F2C0008 for ; Wed, 4 Sep 2024 09:21:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1725441712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=YDh0Z1rRAcDZBZlYFPartLfpBHeo4aRmQ+eiOmwaO2c=; b=B8eGTJwGXWYomMKAEtGiaS8hALoipBChWo54qeK5XWrWvVdXJCp/PPDKqotkWIeNoOcJ2Q 7vQqrH7d6t2H4zeQijf0Cb58INjB+r6Cl43GQ+XjUGwKqBnR7+l8vKyNEf+NMVVKBXfs+w 5sgxxt+Mmh0J7w1CA3cXJCj3THTPeBwgfRDdkXFDQ1t2sxlmK0iaB/99sVZ45In8y/cwgm IVsUtb2wGUM20QJu4p+9HutFb6CoH6el+wGT47j0od7hvaJZp6KRNaiS3OUTtIovx/Zp8g b/cKqmlbJi/KGIssMJeTQy8xE2bHDN/+6ocepisvgPY7njqcUyMgE73t26udgw== X-GND-Sasl: info@protesilaos.com Received-SPF: pass client-ip=2001:4b98:dc4:8::226; envelope-from=info@protesilaos.com; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323352 Archived-At: --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-elpa-packages-show-font-Add-new-package.patch >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") -- 2.45.2 --=-=-=--