From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.devel Subject: Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal] Date: Wed, 5 May 2021 10:51:06 +0200 Message-ID: References: <871ramlbpy.fsf@telefonica.net> <87fsz1zmhv.fsf@gmail.com> 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="31125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Augusto Stoffel , Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 05 10:53:06 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 1leDHG-0007z1-Bm for ged-emacs-devel@m.gmane-mx.org; Wed, 05 May 2021 10:53:06 +0200 Original-Received: from localhost ([::1]:43584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leDHF-0005zY-AE for ged-emacs-devel@m.gmane-mx.org; Wed, 05 May 2021 04:53:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leDFh-0004G1-SI for emacs-devel@gnu.org; Wed, 05 May 2021 04:51:29 -0400 Original-Received: from server.qxqx.de ([2a01:4f8:121:346::180]:57699 helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leDFf-0002rh-2l for emacs-devel@gnu.org; Wed, 05 May 2021 04:51:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eAOifmBXD50uXRKm2+c/Q0JscZgWPB2WP8usGXuAb0s=; b=GaTh7GrjYAwp51SVLuKIXyunTD uFBFb7iuxPl4ChsV/uubVT4dKNJqjKPPpL0FyX/hY8geU/BxaxQPd1fShybhgqDZ8RiLXQGViPWp2 4GP3T/j/dCn+/opUSdhH3f/38zvCaGDKiVoxnccrZc3jVMPNwcwsKqIWmtxdaCdBP6KU=; In-Reply-To: <87fsz1zmhv.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-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:268901 Archived-At: On 5/5/21 9:08 AM, Augusto Stoffel wrote: > In general, all ASCII art using box-drawing characters will look wrong > if line spacing is used. > > In normal typography you are free to choose how much space to add > between lines, but the horizontal condensedness is a fixed > characteristic of the font. It seems to me that for monospaced fonts > the vertical condensedness is pretty much fixed by the font design as > well. > > For instance, in monospaced fonts the descender of "g" tends to look a > bit squished. This is a compromise; if the font designer wanted to make > the font vertically more sparse, they might as well have given the > descender a bit more room. This is true, however my experiments to use ASCII box drawing characters for UI elements were all quite unsuccessful recently (UI popup in Corfu and various UI tricks in Consult). Furthermore if you implement a UI you should make sure that it works well with line-spacing>0. I have now set line-spacing=0.1 in my configuration and I like it so far. It looks better indeed. I don't see something in wrong in testing this for a while in order to obtain user feedback. Daniel