emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] Add new 'show-font' package?


From: Protesilaos Stavrou
Subject: Re: [ELPA] Add new 'show-font' package?
Date: Fri, 06 Sep 2024 09:29:57 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]