From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Bigger fringe bitmaps Date: Wed, 16 Mar 2022 18:57:30 +0100 Message-ID: <87sfrhu6et.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:cPFuhzaDLCDwg183jJoL6xNo7vs= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 16 18:58:31 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 1nUXup-0007TC-12 for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 18:58:31 +0100 Original-Received: from localhost ([::1]:36190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUXuo-00047a-25 for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 13:58:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUXtz-0003IO-Ay for emacs-devel@gnu.org; Wed, 16 Mar 2022 13:57:39 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:59224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUXtx-0000ea-QG for emacs-devel@gnu.org; Wed, 16 Mar 2022 13:57:39 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nUXtv-0006Ac-AP for emacs-devel@gnu.org; Wed, 16 Mar 2022 18:57:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:287237 Archived-At: 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? Using a font for the fringe would allow character displays to potentially show something useful by either using basic ascii symbols like "-+" or using stuff from the drawing block. On graphical displays we could use a separated dedicated family. Font-awesome? **gasp**