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: Pixel Fill + Justify Date: Thu, 10 Aug 2023 10:12:59 +0300 Message-ID: <83jzu3jrpg.fsf@gnu.org> References: <874jlc7ifu.fsf.ref@yahoo.com> <874jlc7ifu.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19684"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 10 09:13:35 2023 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 1qTzrS-0004xO-9K for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Aug 2023 09:13:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTzqb-00082K-Fh; Thu, 10 Aug 2023 03:12:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTzqW-000820-U3 for emacs-devel@gnu.org; Thu, 10 Aug 2023 03:12:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTzqW-00063W-FP; Thu, 10 Aug 2023 03:12:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QOdvmzei68p1OTpxg0+PcyZyYqcXk3gsN0dCDf+Pt88=; b=kQsbbmHv1nQJ 6T1dFEWmcCtyXod97gUlUUHZ9IUOsRAIvaO4ZD0YgDFwfcgIm7siIXa0Iz5PDh58zchL+Awv3edDn kBKuUvDhtZBKN4eTcRnJH6yeN+2DiNytotZr/rejdz6MMkyUxFYbU836ZHkfvVcEZw3sYG4KVv1Tb s+anLBT1nXsRw690djobpVwe+2Rl9hZQu4me/Z/UECoI9uK2+jCCpbjFvscyjyABJ2mF/xGGT1szb RvvFO13uH9kCGBcW/IKanXgNUjeW/GgdWtAKaQ0HlnQ4wG4Bhywibfhel+Y0OKWFgVgsZ27iBl4tf aFiSmICQa7B4d6TmWTK9Rg==; In-Reply-To: (message from Madhu on Wed, 09 Aug 2023 23:04:32 +0530) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308512 Archived-At: > From: Madhu > Date: Wed, 09 Aug 2023 23:04:32 +0530 > > > This reminds me to ask: are there any consumers of pixel-fill-region? A few, you can find them by grepping the Emacs sources. For example, shr.el uses it for filling HTML display. > I'd like to be able to read buffers in variable-pitch-mode with `full' > justification, the signature doesn't have a 'justify' optional argument > but is that a limitation or just a small matter of programming? It's a matter of programming: the code needs to insert spaces with :width 'display' spec on them to produce pixel-resolution justification. Patches welcome.