From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Using images in tabs Date: Mon, 16 Sep 2019 23:51:03 +0300 Organization: LINKOV.NET Message-ID: <87k1a8yngo.fsf@mail.linkov.net> References: <87tv9ir38c.fsf@mail.linkov.net> <83ftl11xdn.fsf@gnu.org> <87impxnqjm.fsf_-_@mail.linkov.net> <837e6c1zr2.fsf@gnu.org> <87o8zle0rn.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162665"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 16 23:16:01 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 1i9yLp-000g3m-3J for ged-emacs-devel@m.gmane.org; Mon, 16 Sep 2019 23:16:01 +0200 Original-Received: from localhost ([::1]:40052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9yLn-0008Am-53 for ged-emacs-devel@m.gmane.org; Mon, 16 Sep 2019 17:15:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59321) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9yKs-0007pd-Hw for emacs-devel@gnu.org; Mon, 16 Sep 2019 17:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9yKr-0001h3-9H for emacs-devel@gnu.org; Mon, 16 Sep 2019 17:15:02 -0400 Original-Received: from cadetblue.birch.relay.mailchannels.net ([23.83.209.28]:2632) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i9yKo-0001cQ-Fq; Mon, 16 Sep 2019 17:14:59 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D03F88C1E8F; Mon, 16 Sep 2019 21:14:56 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (100-96-88-156.trex.outbound.svc.cluster.local [100.96.88.156]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 55C408C1A27; Mon, 16 Sep 2019 21:14:56 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Mon, 16 Sep 2019 21:14:56 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Celery-Scare: 3ef19b712066b0a1_1568668496560_3646409157 X-MC-Loop-Signature: 1568668496560:2615546919 X-MC-Ingress-Time: 1568668496560 Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTP id 0A95F83A04; Mon, 16 Sep 2019 14:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=+pLkpdo9KvxBj9W7O85ndiJ8Jl8=; b= su+gO9nw97dnSNmbZ2tIrXPKvXXOTmqZfvUzIgODbNsyzY7WUNhjBwu5RKGkj9Cx gara07Y/9wryD5WTO1L9YqYj50jQSclNgl8UYKFiTtM89AP4VY6Ze19Ir/qn4Ilk n66/0rTmEwgrktmzMuItSPAbGKm/mSiYFpcWx1GwLfI= Original-Received: from mail.jurta.org (m91-129-107-243.cust.tele2.ee [91.129.107.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 2B98B83A03; Mon, 16 Sep 2019 14:14:48 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a42 In-Reply-To: (Yuri Khan's message of "Mon, 16 Sep 2019 11:15:12 +0700") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrudefgdduiedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrddvgeefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrvdegfedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopeihuhhrihdrvhdrkhhhrghnsehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgepvd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.209.28 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:240089 Archived-At: >> >> I don't know if the patch to vertically center line content >> >> recently sent here by Jesse, could improve the look to align >> >> the button image to the center of the text line in tabs. >> > >> > The image used should be centered to begin with. You could also try >> > playing with :ascent property of images. >> >> Thanks for the hint. Using :ascent property with the center value >> on images solved the issue, so now tabs are more nice-looking: > > Do images also play nice with HiDPI? 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 provide larger images. Is it possible to detect such scaling in Emacs?