From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Bigger fringe bitmaps Date: Thu, 17 Mar 2022 08:31:53 +0800 Message-ID: <87h77xpgg6.fsf@yahoo.com> References: <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="9571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 17 01:33:46 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 1nUe5I-0002Fq-UA for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Mar 2022 01:33:44 +0100 Original-Received: from localhost ([::1]:57038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUe5H-0004c7-Gw for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 20:33:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUe3n-0003NL-NR for emacs-devel@gnu.org; Wed, 16 Mar 2022 20:32:11 -0400 Original-Received: from sonic313-9.consmr.mail.ne1.yahoo.com ([66.163.185.32]:42915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUe3l-0007Eb-I0 for emacs-devel@gnu.org; Wed, 16 Mar 2022 20:32:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647477126; bh=uQfuTNtX+J11bf6E2WPHaOqJtIuYkVMdcLHDD/I6+1Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=TcazDvmEv4LQumwGRafg1Y21GVhtcwbHD13ly7fF70qQgYuAzEEeJ6Dmy5ZTc8O1f/7+zcPJIXRFZr4bGEkckVXW9BVnb759dzzf2+UvgSCXi2BGr5pRKICY8Dkd2V0fCGcyMG7SXBcx7hrvsJy0tr39KC6JIrFXQTePhQ5rhCkkS9ALJCMQMRYQL433IamrZa5p4rtYsGwDU6e/tKxqb7qhPbz7ubxoTaGPM4TN+7VoS2qHyo9YKQRova+1wqqIXmTi7Wh8sd9Nuan1p/HnOxcF5Pob1+/D5lo94NJrZlozj6wPRa4MgVLVyAJ13UITefMwrdTeid7FiVLnsY1mrw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647477126; bh=alKDcyvNU9TciX6L2M01VTiBcAqTmTbbeBCOzBpWJeC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CQeHEr4teT5a8efwjy/gsliYOu6T35rrKKeOIX6b1wdq+lAwVWoUk37mxg5A/DJORWzpmnWhmPLfyrQ+CPtc1N2qaaz6h/8WnlJHoBCkuERCPdQ0R+18C5G1bxYzN8gdQw6ncHBwT2tNyHrxK34vilNld4+wmHpaXSI2d2ACjJKZigklY3IJE1853ZVhEYSijDn8AG4lsujVf6kGOflCzAZ3hTeDlw9X4VV93t1Ikks0EpzttZUxstJevt7ASjKRJhHYYRu7xES8oHJmzkjpQbKSiNb1yPAQ17adYW/UPTCCahxcsSXR5kEl145QrS0p8RGVFmHDNug+VB7Thb6dqg== X-YMail-OSG: 1HZon9QVM1nDF3o60DguK6zm4ja1jG2rssrKrWdhYhCVFgWOhwlDLzlkF_NTB.i OBpMeGh05hV2Y31gMgwKIzKzsTD6btLgXc5LnMCytjVkC86qPbbtFqCIyWb.PBZLFFmEgTZqmP0n CFDvrnsI4NNu4zwIIHb_9MlBJNm4hj_u17K.x1dyLVmnLuvMZQhzY9z9fHFgA4p3Y28E_OFVCTFW ZubkobyFzRIB9ZHZeAiT16y8mgfT_gxnZxtQqdrvDIFl__ZqIHXHiPIqIwINaAMyaAJQjhJYs0Jg GJMk9fmj29Q.XUB7gUGwEg37bSzN4bw89dkvgs4eWO7040Cy0dwyhThrvduKQtA3ThcAF11WX93r lfyoPJs2y22nnQQfx_Qqsu6eIezs6SSbJCBVa.fufskasqtQKfGgpdGvLkciBRAfTBc5uGWTbyTN Rc9vVTe8drLpqx1yQ09USkgLNcNG4D4gMcUbaLO4KFdmFzs1pwU1XO3gsCreGFfp7kHlxBBVyHGO soRTdeSi1MnX_ADnSv8xaT3mIe74nGkbb1tvwycjFId72YzJN1yiEOug6ZpdX9SbIel2DIccWa3p K_Zu44fOuCc4KqGi9wvBeqxlt.zmb1s8J8dkedS5IFOYhgLKyAIY.nzh0oAa6DLkvTdzOkyoaSJn 4hWB2Ppz2sSNSlXPQyRJmmc0v53QIzqSp8kLuST7UAPbzhAzDoQBA6FSi1NN4i28N0cxXmCDqu4r uuNhDViJtiY.N1LTKXPUcI1mhp.DLxeUuT6.mgsittz3X6Jb2B8tU8Th3MXFnTyZ3vnPEyDDj7e1 5EXS5I6fxlEJZx906HQi0rQ5WNhWabrtIEmHOxV_9z X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 17 Mar 2022 00:32:06 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6a27b43842884a44f044b24069343d13; Thu, 17 Mar 2022 00:31:59 +0000 (UTC) In-Reply-To: <87sfrhu6et.fsf@wavexx.thregr.org> (Yuri D'Elia's message of "Wed, 16 Mar 2022 18:57:30 +0100") X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.32; envelope-from=luangruo@yahoo.com; helo=sonic313-9.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:287241 Archived-At: Yuri D'Elia writes: > 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. It should be reasonably future-proof, since we can always add higher-resolution fringe bitmaps later. Scaling of display elements (such as face boxes, tool-bar margins and bitmaps, and fringes) is something I'm working on, but progress is limited since I don't have any HiDPI hardware to test on.