From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Display certain glyphs with paddings on the side Date: Tue, 03 Dec 2019 17:43:09 +0200 Message-ID: <83wobdjtyq.fsf@gnu.org> References: <87CA0401-1087-45C1-A952-DB8624C04D32@gmail.com> <83immylmpu.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="61519"; mail-complaints-to="usenet@blaine.gmane.org" Cc: casouri@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 03 17:02:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icAcj-000Fpq-Pa for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 17:02:01 +0100 Original-Received: from localhost ([::1]:55506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icAcg-00058g-GZ for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 11:01:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33746) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icAKy-0006U2-MA for emacs-devel@gnu.org; Tue, 03 Dec 2019 10:43:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1icAKu-0008Dn-CM; Tue, 03 Dec 2019 10:43:36 -0500 Original-Received: from [176.228.60.248] (port=1897 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1icAKf-0001wS-FH; Tue, 03 Dec 2019 10:43:23 -0500 In-reply-to: (message from Richard Stallman on Mon, 02 Dec 2019 23:56:22 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243051 Archived-At: > From: Richard Stallman > Cc: casouri@gmail.com, emacs-devel@gnu.org > Date: Mon, 02 Dec 2019 23:56:22 -0500 > > >> Is it possible to add some padding > >> to the sides of a Chinese character and make it twice as wide in > >> Emacs? > > > I don't think we have any such features. You will have to choose your > > fonts such that they provide this nice alignment. > > I don't think it would be terribly hard to implement such a feature, > as features go. I'll welcome patches to that effect, of course. Personally, I don't think I have a clear idea what is the feature we should implement. First, how does users tell Emacs they want this to happen? Do we introduce some buffer-local variable or a minor mode? Next, what exactly should the feature do? override the width of each glyph with an integral multiple of the width of the default face's font? If so, what to do when the default face's font is not a fixed-pitch font? And should we do the same if the font to be widened is also larger in height (i.e. we are talking about something like chapter and section headings in Info)? IOW, I think we need first to come up with a detailed specification, so that we have a clear idea of what needs to be implemented. I encourage people to file a feature request bug report on debbugs.