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: Tue, 15 Oct 2019 20:01:37 -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> <83lftni815.fsf@gnu.org> <83bluigxu0.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="34787"; 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 Wed Oct 16 01:02:14 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 1iKVpV-0008th-3f for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 01:02:13 +0200 Original-Received: from localhost ([::1]:33000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKVpT-0002UR-Jl for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2019 19:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41996) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKVpM-0002Rg-1k for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 19:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKVpK-0000dK-Uv for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 19:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKVpK-0000d8-Rx for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 19:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKVpK-000652-NC for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 19:02: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: Tue, 15 Oct 2019 23:02: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.157118051723360 (code B ref 37689); Tue, 15 Oct 2019 23:02:02 +0000 Original-Received: (at 37689) by debbugs.gnu.org; 15 Oct 2019 23:01:57 +0000 Original-Received: from localhost ([127.0.0.1]:45010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKVpE-00064i-Vx for submit@debbugs.gnu.org; Tue, 15 Oct 2019 19:01:57 -0400 Original-Received: from mail-yw1-f68.google.com ([209.85.161.68]:40115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKVpC-00064U-Sf for 37689@debbugs.gnu.org; Tue, 15 Oct 2019 19:01:56 -0400 Original-Received: by mail-yw1-f68.google.com with SMTP id e205so7972851ywc.7 for <37689@debbugs.gnu.org>; Tue, 15 Oct 2019 16:01:54 -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=bSZQ4drfEnxj6GGU8BJpLGJvxxYQBWeTkGz86y6hRKE=; b=Wvij4sv33hFlc6Hbv9CyAUzVlBPToliqozlfcijjGtHEDLCrup65qVKP+h9O1xyu5K JoMD4UpECoR3Tu86K6h1C2pNSbX2CcSJc1MYc3CEnkzLIrDFlf1eq8qZOS1nJkqPcUab KVCT7ZauBXGdjvoQZU8Oxx9V6e+gvVvWQkwAfKuRi798DPNjkC0FXg8nW7I/m5yqCkky Yf4v9G4c7Rv9s+1WJxdl8q/bIAeR3rQL7xtzKoVNj+ym2xifhqCh1OSJoZm5PRMMRa/P g4tbykBrGqzXuS9mdsGbeTX3EuqcT8WQ5xd02nqfrNDpPdLPI/F/J9cHNwrN9a/9XBnL 6Xaw== 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=bSZQ4drfEnxj6GGU8BJpLGJvxxYQBWeTkGz86y6hRKE=; b=Y5MXBHg6KsjP1t0YNAp3M7jk9ewuC4sS/+bPvpVxFKOJaizyjcxi2ctJ6xRf3Fykv2 +L/2QpMEdbPoZAXegZhxqr/WDKcYwmetY3BbqYIdfJi90xObQXmWNUQoFoPeqrfdBQ0e ARJUp6Y2gLg7JLLVTn9FGNkYcEhreWHPdKcsLL4E5J+tFj1CMABnBDBO+96itMilMAno 8QLOoWpJsPIi1t3RpNDslMx1wtBvvY/EJqqDa7nN6U4cc5VR5BMXk0nm5z1Hsp5TMfSD bBByIEe3aSFD9LRU3tPapE5V2RD4fQTQyk1GnWMGhP/SflQOl2Je4VaSLcYcETuVItXh cbnA== X-Gm-Message-State: APjAAAWugnT16fP+1k2SFskoMptxwneQYazt6R6G5HyIi6NQqIgWuMN6 dtyZE+nIMAWhVotdJcY3rcpLk9CJUf8CN9Ddm24= X-Google-Smtp-Source: APXvYqwZHQHI3bKvFIGgdbTeeipog9cHf60Mdj79D3QGw1Tkf97oIA4X3YEKhfWEWbc794raZbIWikN4jz9v9yRrUQw= X-Received: by 2002:a81:254e:: with SMTP id l75mr17824690ywl.90.1571180509045; Tue, 15 Oct 2019 16:01:49 -0700 (PDT) In-Reply-To: <83bluigxu0.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:169404 Archived-At: I decided to follow a more incremental strategy because I feel this is getting unwieldy. I split the issue in three parts for now: 1. Expose scale factor in the rif (patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37770) 2. Implement image scaling in Cairo and maybe X11 backends (this ticket) 3. Some code cleanups / refactors pertaining the initialization sequence of backends (patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37755) 1 is a must-have for 2, 3 is a nice-to-have. I'm writing a proper patch for 2 on top of my patch for 1 that I will be attaching here soon. Are you ok with this strategy? It's not the one-hack-to-rule-them-all approach envisioned at the beginning but it simplify things a lot for anyone wanting to make macos and win backends actually scale their bitmaps, which shouldn't be difficult at all (or even necessary, I still have doubts regarding macos). Plus it hopefully brings some code improvements and a necessary API.