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: Bigger fringe bitmaps Date: Wed, 16 Mar 2022 20:23:11 +0200 Message-ID: <83r171hi40.fsf@gnu.org> References: <87sfrhu6et.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6414"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 16 19:25:27 2022 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 1nUYKt-0001W3-IJ for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 19:25:27 +0100 Original-Received: from localhost ([::1]:34232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUYKs-0005p1-5H for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 14:25:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUYIp-00050X-Fm for emacs-devel@gnu.org; Wed, 16 Mar 2022 14:23:23 -0400 Original-Received: from [2001:470:142:3::e] (port=36898 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 1nUYIo-0004gr-I7; Wed, 16 Mar 2022 14:23:18 -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=I5Xe5tq7ev+ST+bZYysnGN88TbquS6j8muAgXezQLCk=; b=Pz/VXAAqNtrt Pw2qJWskfJNJqb/FGwKV/iHE+mv8wC2GTD9wWKL0JaB3pifpCaXMNLiDyxxUz5gx/UUjOH7XXrwvD fBHSH5WzuEd301m+DEk/eY9lMVr9GWYElpMbQGYQxY38T9RB/JoOTsKsWX9QMkfo/LUPtSLPOZ6G/ 3wFVyQgqQ0h7sLE1OUeshVFqkKmyXI0FfurgXVXv14LdSstU81EwAzwRNCrOAiVpJGwz3YDd1N2FS o1r0i80ZQMwaUTRJHlHZpcssURdKb/wkfFQpNlfbj44ryFc+rFMiCmbYvn7LSKvH7sFiSJtp/rzhr 3Ay9eU7Sd8PRWV6bdRhinw==; Original-Received: from [87.69.77.57] (port=2456 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUYIo-0007Vf-01; Wed, 16 Mar 2022 14:23:18 -0400 In-Reply-To: <87sfrhu6et.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Wed, 16 Mar 2022 18:57:30 +0100) 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:287239 Archived-At: > From: Yuri D'Elia > Date: Wed, 16 Mar 2022 18:57:30 +0100 > > I recently switched to a higher-resolution screen to basque in all the > hidpi glory. > > And all is good. Pretty darn amazing for text rendering, in fact. > > Except for the fringe. > > Even at 16x16, these bitmaps are now indistinguishable from specks of > dust. At least on lucid the bitmaps do not get upscaled by setting a > larger fringe size. > > I suspect upscaling with nearest-neighbor would be a possibility for the > moment, but it's the API surrounding the fixed bitmap sizes that doesn't > look future-proof to me. > > I didn't think much of it at first, but it's while debugging with `gud' > that I'm really struggling and realizing how useful the fringe is. > > Shouldn't we allow the fringe to be a single character instead of being > a bitmap? With it's own family on graphical displays? It could be a separate feature, but I don't think it should be the solution for the problem you describe (which is a known problem). We should be able to produce a decent display of fringe bitmaps on hidpi terminals.