unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: philipk@posteo.net, emacs-devel@gnu.org
Subject: Re: [ELPA] Add new 'show-font' package?
Date: Fri, 06 Sep 2024 09:29:57 +0300	[thread overview]
Message-ID: <871q1xguqi.fsf@protesilaos.com> (raw)
In-Reply-To: <86seud1f6e.fsf@gnu.org>

> From: Eli Zaretskii <eliz@gnu.org>
> Date: Fri,  6 Sep 2024 09:15:05 +0300
>
>> From: Protesilaos Stavrou <info@protesilaos.com>
>> Cc: emacs-devel@gnu.org
>> Date: Fri, 06 Sep 2024 08:43:09 +0300
>> 
>> > Some general comments:  It would be nice to have a command to select a
>> > font.
>> 
>> You mean to select a font to preview? This can be done, for sure, though
>> I will need to decouple the preview/presentation from the file-visiting
>> part. In other words, the user selects a font and then we do
>> 'set-face-attribute' of its family across the buffer that we generate.
>> This way, we do not need to know where the font is installed and to
>> visit that file (though that is fine as well).
>
> Did you plan on including support for showing non-ASCII fonts?

Eventually yes. Though I need to consolidate the core functionality.

> That is, fonts whose sole purpose is to display non-ASCII characters
> of some script(s)? Because if you did (and I think it's important to
> Emacs users), then it would require different techniques, probably
> working with fontsets instead of set-face-attribute, because the
> latter only allows you to set the font for ASCII characters.

You mean to use 'set-fontset-font'? I will need to read more about the
technicalities.

-- 
Protesilaos Stavrou
https://protesilaos.com



  reply	other threads:[~2024-09-06  6:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04  9:21 [ELPA] Add new 'show-font' package? Protesilaos Stavrou
2024-09-05 10:18 ` Philip Kaludercic
2024-09-05 10:24   ` Eli Zaretskii
2024-09-06  5:35     ` Protesilaos Stavrou
2024-09-06  6:12       ` Eli Zaretskii
2024-09-06  6:23         ` Protesilaos Stavrou
2024-09-06  7:16           ` Eli Zaretskii
2024-09-06  7:23             ` Protesilaos Stavrou
2024-09-06 10:47               ` Eli Zaretskii
2024-09-06 10:59                 ` Protesilaos Stavrou
2024-09-06 11:40                   ` Eli Zaretskii
2024-09-06 13:40                     ` Protesilaos Stavrou
2024-09-06 13:56                       ` Eli Zaretskii
2024-09-06  5:43   ` Protesilaos Stavrou
2024-09-06  6:15     ` Eli Zaretskii
2024-09-06  6:29       ` Protesilaos Stavrou [this message]
2024-09-06  7:17         ` Eli Zaretskii
2024-09-06  6:33     ` Philip Kaludercic
2024-09-06  6:45       ` Protesilaos Stavrou
2024-09-06  7:20         ` Eli Zaretskii
2024-09-06  7:31           ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871q1xguqi.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).