From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch text filling Date: Wed, 01 Dec 2021 07:31:21 +0200 Message-ID: References: <87ilwft1ph.fsf@gnus.org> <837dcv2c2c.fsf@gnu.org> <875ysft0l3.fsf@gnus.org> <835yse3n01.fsf@gnu.org> <87lf1ars0f.fsf@gnus.org> <83czmm11t0.fsf@gnu.org> <87h7byrplm.fsf@gnus.org> <83a6hq0zey.fsf@gnu.org> <87lf19r7uv.fsf@gnus.org> <83tufxy7f0.fsf@gnu.org> <83o865xuf3.fsf@gnu.org> <87v90b136m.fsf@gnus.org> <83tufvukjj.fsf@gnu.org> <875ysbxal0.fsf@gnus.org> <83h7bvugxm.fsf@gnu.org> <87sfvessx6.fsf@gnus.org> <87wnkp9c3t.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15452"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org, Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 01 06:32:38 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 1msIEO-0003s2-RW for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 06:32:37 +0100 Original-Received: from localhost ([::1]:41620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msIEM-0006r5-O6 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 00:32:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msIDF-00069p-Oz for emacs-devel@gnu.org; Wed, 01 Dec 2021 00:31:25 -0500 Original-Received: from [2001:470:142:3::e] (port=36644 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msIDF-0004hI-Dx; Wed, 01 Dec 2021 00:31:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Subject:To:From: Date; bh=kFT7qSA1GbLXK4lGp1GAXl5Jo8Qew3Hcd7MB6Ux9mAo=; b=mVpIyV6e37STCyzVloE5 3pLWjK7fHju6utYSudm6xrJB6nlS/rAo+Bb1gvkqkG23UMD3LaYWJw8gOp+T4qhioeH7xIGi+jh6B /IYGX9qC/I8hRXmkxgcFZ208bOMWl6hIlh/Zk+D2D+R2lwCzZz0YgmRQVwwvuq8wZaOma6hpoWtkP nOvHVcU5jvJVEmYU73CkgAFsWLXPmtN1x4q+7zcHypqjEBuBGYdPlLRY4HXjTgenXTFFHJhM+eYKN NqZaZuOPpYdF+CLdB00hQ7j9sHTznvyJ7Y/BWNFTZ5ExMVJBO1nNqLCz3ilKoI2PnDEiwrl2VdmUn czstpE4CoZ6iVQ==; Original-Received: from [2a02:14f:1f9:744::b2c:4ad1] (port=50390 helo=[IPv6:::1]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msIDE-0003Io-NV; Wed, 01 Dec 2021 00:31:25 -0500 In-Reply-To: <87wnkp9c3t.fsf@gnus.org> Autocrypt: addr=eliz@gnu.org; keydata= mQENBF+pf4UBCAC6vjkWLSAsQpe8YIGKLQzNOJx/IjGtCdFF8uzmO5jmME+SD8ROuJN+t5KXVw58 uzu75EFD0vHTY9e+udJ2gkpuy0NnzkFcbumdLLo2ERKCoSctZZRhzKXI5z5cHxCqW0B2ygHRrRLt oNlGID7bAgcgSViT1ptGqTXO7zGVu4Airok7dNzcPtHgns8GlR5YAFX0TvE6oGd0l2VPghNeVJKJ OjrbfhoDxl3ucFpqbqMH8z9HTLDOFpz8UaYYUdJMi3xX6vwTZxI2sM2RRVLUpZyllAkSMI4lln1O OgazM/62DJUs/rKIHKBnF6h3/qsJUjUYXaAHbrXY26mWllAd536lABEBAAG0I0VsaSBaYXJldHNr aWkgKGVsaXopIDxlbGl6QGdudS5vcmc+iQE4BBMBAgAiBQJfqX+FAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAAKCRCRwSYvAeuNOYUQB/4/iIKKOG45ijNaRoTvmJJZMvj1S07WQxEm7c5SHEeE QbLOAxB9vESOV7sLueuN3oqEndtzyYt4x1WTSBmHFF7h5fcCMjBs41siOIp5Sj/xD0Bvaa0IKGCR SZ7PAo8Mq3wgajXpTpn9vxE2PmtzA8KdEE0K1+f9pVAfOpUIcCl44rIxLUW352XG0y7iz6c/O6LB 1deOKMiKFctKO7pBti1dJEm1ImewLH3H8uTbwspLOs3EB8xhsESxmTidnze68HX2jt+2EeMgCdki NU+LWbexQZPfIS7+ZmE06ll0v6+Jy7ZdTkCCRypKWTnW7pIFsq/p4kybV8O/kHSV6B4vvQBfuQEN BF X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:280579 Archived-At: On December 1, 2021 6:35:02 AM GMT+02:00, Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: >=20 > >> Perhaps we could eat the cake and also have it: the 'space' spec > >> already supports a notion of "units"=2E Currently, we have: > >> > >> UNIT ::=3D in | mm | cm | width | height > >> > >> where "width" and "height" are for the default face's font=2E So we > >> could add a new "unit", say, "face-width" or "font-width" (and > >> similarly with height), to mean dimensions of the character of the > >> font used by the underlying face=2E > > > > Yes, that makes sense=2E >=20 > So I think we're in agreement concerning the feature set here=2E Do you > want to implement this, or should I take a crack at it? >=20 > Uhm=2E=2E=2E did we decide on a name? I think I suggested calling the = text > property `char-spacing'=2E=2E=2E >=20 I was under the impression that you asked me to do this=2E But don't let = this stop you from doing that yourself, if you want=2E AFAIU, we need 2 separate features: (a) a variable to force all characters= to have width that is an integral multiple of some "standard" pixel width;= and (b) a display spec that would enlarge the pixel width of every charact= er with that display property by some number of pixels=2E The display spec= can be called char-width=2E