From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#37689: Fringe pixmaps, widgets, etc. look ridiculously tiny in hidpi screen Date: Mon, 14 Oct 2019 12:32:58 -0300 Message-ID: References: <83v9swqz9q.fsf@gnu.org> <83k19ao21y.fsf@gnu.org> <835zkrk9q9.fsf@gnu.org> <20191014131955.GC45622@breton.holly.idiocy.org> <83pnizidi3.fsf@gnu.org> <83mue3icjm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52965"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Third , Robert Pluim , 37689@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 14 17:34:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK2MP-000DbR-CW for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 17:34:13 +0200 Original-Received: from localhost ([::1]:51528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK2MO-0002fZ-1C for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 11:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60106) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK2MF-0002ci-Rz for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 11:34:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK2ME-0000de-Pt for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 11:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60936) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK2ME-0000dU-MR for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 11:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK2ME-0006lQ-9q for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 11:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37689 X-GNU-PR-Package: emacs Original-Received: via spool by 37689-submit@debbugs.gnu.org id=B37689.157106720325949 (code B ref 37689); Mon, 14 Oct 2019 15:34:02 +0000 Original-Received: (at 37689) by debbugs.gnu.org; 14 Oct 2019 15:33:23 +0000 Original-Received: from localhost ([127.0.0.1]:41524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK2LW-0006kM-UA for submit@debbugs.gnu.org; Mon, 14 Oct 2019 11:33:23 -0400 Original-Received: from mail-yb1-f196.google.com ([209.85.219.196]:36115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK2LU-0006k6-O2 for 37689@debbugs.gnu.org; Mon, 14 Oct 2019 11:33:17 -0400 Original-Received: by mail-yb1-f196.google.com with SMTP id t4so2877712ybk.3 for <37689@debbugs.gnu.org>; Mon, 14 Oct 2019 08:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XA1zipocCSevQen9VGUs4kkJGcDfnFMnmtbCtawaEWw=; b=uIcHUXwS/I5FvuQl25i+pMmG96Sey/iQQ8NvamacRPob6ZqbEN0owW/Iccg5FaQHwS C1Kn0dvtErVAOuJPdzeHdXsTFmUamliHMa9/jqHZ9CyTx00QGvwH1Ci83tfyQJ9alpS7 euFRLeABmMNRnMWvPtf4ka+XzGUbuBpD+VEgF1RgTskpTkPdBLS9lQHV4CAhy5/atyD8 iQNrJ2W/+El/sHK28XBZAltD2GWrm4zTJbH8xC1t5G62k3gjGrjH35BiisvbpsGqA90j D0EPSdKjKatD3z96E0gograGBRTgSnS65wxoMxi84tsWmKfFARLYl0PCkQed4Stj/b9N Ocbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XA1zipocCSevQen9VGUs4kkJGcDfnFMnmtbCtawaEWw=; b=UiJF0WHufRPwgdbWBVQ71gMhxGhJi/tSAPWaiCL0IySKXypbx8Fu8joKjHr7MEB8dl 2A+5TPQx0URGTNtx6aDu5yXEK+DI6KwNyEehez0kH3sHQnlJW3DfZpkTS4SkOCbuPwY5 nNseSSTUgmfhG47oycpPl5NA54umoSBRtMWnDv8PhDjt7bMjOIVPBY/QbmMleSXHQu64 ENY2azLaCComOgrNg3FBqEkHRy21r9MssW9UnaAOBBiv6BwGXcrPtf2RoJG0pgPdb8sh lRvO/23nRR7d6uXdY+lQliwuNfSqrOi76fRpoY7ECHkyLL49qOKlBb5LDBteD719CF8F XV1g== X-Gm-Message-State: APjAAAUftYA31K8EgS691PyCDnJuAfA2uQRCZE/i2wH5gFCPm9LX5wSY Nr+KtgFbFDLFQR6tdcQwMTzW7Gv7R4mu4fv2wwI= X-Google-Smtp-Source: APXvYqzHDJVyRZLhFcsZEFMNSx+qwwdAMzdjaHWWJZ61wwn6+yvAGPBMaUkvs+e/k7NcrRg3NeyCVM0+Emxf5w1ApWk= X-Received: by 2002:a25:9947:: with SMTP id n7mr20118155ybo.263.1571067190951; Mon, 14 Oct 2019 08:33:10 -0700 (PDT) In-Reply-To: <83mue3icjm.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169275 Archived-At: > What you call "widgets" are images. Fringes are also images, but their format is fixed: they are always bitmaps. > I think we covered all that, what is left is coding. Right? Well, I know they're images, I even known which images they are, I just haven't spotted the place where they're actually dealt with in the low level code and I was surprised that, being images, changes to x_cr_render_image weren't having any effect on them (with the cairo backend enabled, of course). To add to my confusion there are the aforementioned differences between 26.3 and 27 in this regard. The question of which code is dealing with these images (as opposed to fringe bitmaps) was indeed left unanswered but, nevermind, I'll keep looking for it myself. Any additional hint would be much appreciated, though. For the time being I will focus on fringe bitmaps and work under this assumption (which I'm not sure is that mild as you seem to suggest): > I don't think individual backends do any scaling, but if some do, it > should be easy to disable the scaling in our code for those backends. Later we can tackle "widgets" (which is the right name for them? They are indeed defined in widget.el and wid-edit.el AFAICS). Best regards -- Carlos