From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Unicode combining characters Date: Tue, 25 May 2021 14:15:33 -0400 Message-ID: <2437db42-62fc-ea3c-279b-170152defc62@gmail.com> References: <83k0nmbubk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14125"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 25 20:27:58 2021 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 1llbmY-0003WI-2G for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 20:27:58 +0200 Original-Received: from localhost ([::1]:51684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llbmX-0003CI-1e for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 14:27:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llbah-00037V-U0 for emacs-devel@gnu.org; Tue, 25 May 2021 14:15:43 -0400 Original-Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:33343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llbag-0003wI-5j for emacs-devel@gnu.org; Tue, 25 May 2021 14:15:43 -0400 Original-Received: by mail-qk1-x732.google.com with SMTP id k4so20235763qkd.0 for ; Tue, 25 May 2021 11:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=3tkQyj3/CxjH+4cx89GUt89q6FuFBlXec6W6i40brt4=; b=KgzkWQOsPeg8JYDxmOGunJ+oL17Kh3qQZ7qaTjXyJpDlLsNsBz4lahirb1RPsBRQQb HPgo8smELgBuyT8m3LdtPFUgjnMNhmFybpT9CUXxfIKsUKwfjBWMl1aSSy3eygb7hiMg 7GUFUA/e2Ln67A9ITG53LLMa8R5zKml+vONyNV6AP4G+b54102e4cx2jbamht3z/AlNz UMAb5S0byc0TncHPmLVXRJYAdmj3LmYBfJtjL5Xt4xkAktyldk7DN+/0NfOw9Fkdsfb8 kPxisa1NndpgKmkLvBuG06MNIiJDhDPiunuuo9YWbU35tRVMQWMCru7i8O6hx0/xrJrg arpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3tkQyj3/CxjH+4cx89GUt89q6FuFBlXec6W6i40brt4=; b=PyGBeAoyDnWJmaus4G8hc8+ACLPKwNEgQy/7nzReJXch2ZyyES1mTT6wyM1hbRWqUE ITizHvKFu2m6h5AKWHyApQTYgKB1AR9/S26Wm2z11wgOl+beLO1d8HhjInqqwPkQym43 yREtDXrtTAbN3ts76IoV6g1Z5x+PnWgQRRYJXsADcGfQoRfZxkt/ibFihbSE3cJuq6pv zXNEeOvRtw1yXFbVtJ2wqhmvzT5IAAEGPAQ/lU5EaTn9nyu0jeNuox0/ZohP4TWVSlB5 Yk1EfET5Ov4Bn5OAMWfLfaPKaHp06A8GyrRud5RfqasRYoYyGdBfUR/FwQqgKth/L2fB YIwQ== X-Gm-Message-State: AOAM532vtOQF2JPglWG62+z77u+e20biw8P8Z/E7qKrbyzpwZJdpsEaV 8JsUzsjIts+0K+JHCRrZBm620/KGWPQ= X-Google-Smtp-Source: ABdhPJx5zf29BznDRPjm1Z0pwgri8l0qbM/plkmhN1ccCV/TYLNiVBk1m7xxWwTpZTy+f10Ri7UTAg== X-Received: by 2002:a05:620a:cf6:: with SMTP id c22mr36724300qkj.123.1621966538754; Tue, 25 May 2021 11:15:38 -0700 (PDT) Original-Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id x9sm12976571qtf.76.2021.05.25.11.15.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 May 2021 11:15:38 -0700 (PDT) In-Reply-To: <83k0nmbubk.fsf@gnu.org> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::732; envelope-from=cpitclaudel@gmail.com; helo=mail-qk1-x732.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269882 Archived-At: On 5/25/21 1:24 PM, Eli Zaretskii wrote: >> From: Anand Tamariya >> Date: Tue, 25 May 2021 21:26:44 +0530 >> >> Hindi Devanagari script has lot of unicode combining characters which results in misalignment in a >> rectangular overlay for constant number of characters (screenshot ) >> What would be a recommended way to tackle this in Emacs? > > Use align-to 'space' display spec and/or the window-text-pixel-size > function, which will account for the actual size of the text on > display. Will this work? The misaligned specs are already part of a replacing dipsplay spec, so the additional align-to would be ignored, no? (IIRC, there is no way to say "replace this text by this string followed by this specified space; it's one or the other, right?)