emacs-devel
[Top][All Lists]
Advanced

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

Re: Any new method to deal with Emacs Fonts settings puzzles nearly ever


From: Feng Shu
Subject: Re: Any new method to deal with Emacs Fonts settings puzzles nearly every Chinese emacser?
Date: Sun, 14 Nov 2021 08:02:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Phil Sainty <psainty@orcon.net.nz> writes:

> On 2021-11-14 04:21, Eli Zaretskii wrote:
>> On GUI frames Emacs takes the width of each character in pixels from
>> the font that is being used.
>
> Potentially Emacs could provide a defcustom mapping of fonts to minimum
> character widths, and if the actual width of any character is less than
> the customized minimum then the (larger) minimum width is used instead
> (I guess padding either side of the character).

Maybe we just need a padding api, and let user control the number px or pecent 
of
padding.

"let 1 Chinese Char width = 2 * Ascii Char width" main useful in table
like environment, for example org-table, org-agenda buffer, gnus buffer
and so on. so let user choice a padding is possible solution, 

And We should pad Chinese instead of Ascii, for 

     H e l l o 你好

looks ugly :-)



>
> I've no clue whether this is practical -- I know very little about
> fonts.
>
>

-- 




reply via email to

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