From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Using images in tabs Date: Wed, 18 Sep 2019 08:44:56 +0200 Message-ID: References: <87tv9ir38c.fsf@mail.linkov.net> <83ftl11xdn.fsf@gnu.org> <87impxnqjm.fsf_-_@mail.linkov.net> <837e6c1zr2.fsf@gnu.org> <87o8zle0rn.fsf@mail.linkov.net> <87k1a8yngo.fsf@mail.linkov.net> <87v9tsos4k.fsf@gnus.org> <877e66oeo6.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109025"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , Yuri Khan , Eli Zaretskii , Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 18 08:46:10 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iATj5-000SCG-IK for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2019 08:46:08 +0200 Original-Received: from localhost ([::1]:55150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iATj3-0002Xa-Si for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2019 02:46:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36377) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iATiF-0002X6-7a for emacs-devel@gnu.org; Wed, 18 Sep 2019 02:45:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iATiE-0000b9-9S for emacs-devel@gnu.org; Wed, 18 Sep 2019 02:45:15 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iATiE-0000ah-3T; Wed, 18 Sep 2019 02:45:14 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id r5so5519416wrm.12; Tue, 17 Sep 2019 23:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=6tZDyZrnXjcfMFPsuqPiq7aO2bwZeLq//AKBW0cFCvQ=; b=hNUjYG4BTsFgzk6aPUMpI748ZamSQT2ChQNk04qXoe1iegz/HkgHzvjAn6dmr3JKcu kGyk9rguHKEtST7u0DKOT8K8uHnky4pldn0Gct2odV2jrphUZ5JbCMyXPwRj6aQVRZhu YFy0Ra8TxP+jE6PaYqC+wA6AxXpf3pjFciU0wfdfwIX3rh3oFSni2l2KZkQQtSs/8kYd SxFLhNifLcjOyBBkdO5AAeWwVsZwlAe+iYC8hKxK10lSXVQRB8wfCiZuRng7jgrET8hK 3/8h8uU/6yBdrsE23xu178Zwxv6eJUEWWd432jAW7CA0IX2BsivJucEmax1SsSa6TLDP G1bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=6tZDyZrnXjcfMFPsuqPiq7aO2bwZeLq//AKBW0cFCvQ=; b=ZWGc5GP/0d/ZZMUJ6Kx0iCYGk4++hleSw/CLAoogPhv7CfMc9/WidysBnnpKrDKrGw 0w4biUGqkDYffkxAfDTCZEYbxjA7seaKqbeR0w4yAOB4aaCjUxxXQqyro54Pss8IlmCL GfLqgDXBYOyT8MULNxbeGWbDcTqaZ/opEUSp6HTBc9KYw5WMUb7C7ZlT2HC/h0I7KRdo /zKMeEOFKeVrdPJrNDHDdIOIv3WWOrGuVTD8hDJbLtnGnTIWeREGUwc1blNHnuuBXC/A bqjE3JKeexPfT3ghIwGcfQVy0PVfTt/u8MozVYweSpF3IKOKbxdpR+4SgdALT4ylVpKY tpDA== X-Gm-Message-State: APjAAAU/ph4Nc/b7CuVh/IS7sZ0fKx9qU0jN8gDMJI4f5TDAzVncFedS mutqdELqDBhhykGlUdLkzsA= X-Google-Smtp-Source: APXvYqyI8UmVTB6CZRctixJ6qgwqjDRYmWv2kOp/njyttlZScPDNJlRnT/KFqOMn2jNcTZjByHYGeA== X-Received: by 2002:adf:fb8e:: with SMTP id a14mr1745938wrr.304.1568789112847; Tue, 17 Sep 2019 23:45:12 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id d78sm1824812wmd.47.2019.09.17.23.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 23:45:11 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <877e66oeo6.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 17 Sep 2019 23:33:21 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240122 Archived-At: >>>>> On Tue, 17 Sep 2019 23:33:21 +0300, Juri Linkov sai= d: >>> I don't know, I'm using HiDPI and see no problems. But maybe if >>> someone prefers Double HiDPI with huge scaling, then we could provi= de >>> larger images. Is it possible to detect such scaling in Emacs? >>=20 >> xg_get_scale and friends? (For gtk-ish Emacsen.) Juri> Maybe xg_get_scale should be exposed to Lisp, then find-image Juri> could use it to choose a suitable image specification among e.g. I don=CA=BCt think lisp should know about the scaling, it should work tranparently, which to me implies that images that can be scaled should be used. Robert