From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#28605: 26.0.60; Part of leftmost character hidden Date: Mon, 09 Oct 2017 10:25:40 +0200 Message-ID: References: <59CE8E74.5010308@gmx.at> <59D35549.6030905@gmx.at> <87wp4c750c.fsf@gmail.com> <59D4A45F.5010606@gmx.at> <87tvzfjfcp.fsf@gmail.com> <59D5E8F6.8080002@gmx.at> <87efqikk0x.fsf@gmail.com> <87a815lq3w.fsf@gmail.com> <59D73C6F.3020907@gmx.at> <87o9pk65ae.fsf@gmail.com> <59D74E49.2000605@gmx.at> <87a8145wcr.fsf@gmail.com> <59D88B8B.6050205@gmx.at> <87d15z6uo1.fsf@mouse.gnus.org> <59DB2C8C.7040706@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507537584 8715 195.159.176.226 (9 Oct 2017 08:26:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2017 08:26:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Robert Pluim , Ola Nilsson , 28605@debbugs.gnu.org, Kaushal To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 09 10:26:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1TOA-00019Q-2F for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Oct 2017 10:26:14 +0200 Original-Received: from localhost ([::1]:56671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1TOH-0000hT-6Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Oct 2017 04:26:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1TO3-0000eJ-Mg for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 04:26:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1TNy-0008HA-LM for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 04:26:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48415) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1TNy-0008Gt-HS for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 04:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1TNy-000801-Bd for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 04:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Oct 2017 08:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28605-submit@debbugs.gnu.org id=B28605.150753754930726 (code B ref 28605); Mon, 09 Oct 2017 08:26:02 +0000 Original-Received: (at 28605) by debbugs.gnu.org; 9 Oct 2017 08:25:49 +0000 Original-Received: from localhost ([127.0.0.1]:57096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1TNl-0007zW-H1 for submit@debbugs.gnu.org; Mon, 09 Oct 2017 04:25:49 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:52818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1TNj-0007zO-J0 for 28605@debbugs.gnu.org; Mon, 09 Oct 2017 04:25:48 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1e1TNc-0001Wl-6H; Mon, 09 Oct 2017 10:25:42 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEWDb2lIJShOLjAtFhtZ PTvnPirLAAACZ0lEQVQ4jU1U0bXrIAxzcxmgEAYoxAsQMoAh2n+mJ9O8ey6nHyEKsiyZionINkvv JZ299/OeZvYC5CO+RtU5MXAkDAvYMEVVBFvvbe/fVVWNHFJPAf6/XOvMppvKaRJq78cfBAfPyHvm eLXLblz6k2pCGVItiCigsPcbaWDcOlBY2jILY7whlsP7HvOIlapGk03E7qNdVwhwUs2vCQSxD7lm 7Ha3PfazUxx/VzXwu+PQu68X8VeW8pCcNfnz3j6h5y0+nRAY3xbinl9d5ZgLyTJk3sP7Lh3Uh/26 V4sSRBdTUwW9DJhYRQigLFbFR8CGg/vWKnctOlPUaQMwA5yr0KyvwIbJcCqmOdBKFdkXVTKrUHZm gUDygj/fA8EyZYFeUHBLtD0sgN6AUlTg4bTqk7CABGoSjsED+BysWCPjJK/ZRO0tZgdWqy0zMQuB E1JbquZUXqy0HIZHKRsqF2k5KOy79otdTL4YJZWqDry8WGHnoE8mr1gfYPVxnCUl7qdi1z0uqlBK b4MH+hkTLSqgWnWnS+udFvExXtwG9LiAZTtHuthLfZqMgLrcEDwAGlUiZ419TKr18zCPOVITTadd s6RVW+YCGD9T8gzxHBDT6W7lUSLjs/Cficjw+WmbMkCuWudi4nqtcD8WyO2l53MibOuWXWu3LNQH QNl5A9vazfg4xRIBIzKbmLFsiO6ULWBuMXKfqMmnjY7hC0DLuhhaLrdnfbGKIJfv1MXmup3rW6Mi /r3MLc1HlZxAKsdsdecfBr/3+0QiwZ2KHnss1DB+DeF1llnqw9VuVngMwRzI9XwKXOOURST/ALWx sd5j7xdNAAAAAElFTkSuQmCC In-Reply-To: <59DB2C8C.7040706@gmx.at> (martin rudalics's message of "Mon, 09 Oct 2017 10:00:12 +0200") 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: 208.118.235.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:138104 Archived-At: martin rudalics writes: >> If I remember correctly, in some places it looked at the GDK_SCALE >> environment variable (which is normally not set on most systems) and in >> other places it queried GTK for what the scaling is, leading to general >> confusion of what the frame size was supposed to be. > > OK. Are we sure that we now detect any scaling if present? Or should > we allow the user (who might know better) to explicitly supply a scaling > factor which overrides a return value of 0 (?) or 1 from the above. By "supply", do you mean setting the GDK_SCALE variable? I think that the GTK function will pass us the right scaling factor in that case, if I remember correctly. On modern machines, the user supplies the scaling by using a GTK tool that doesn't set GDK_SCALE, and the GTK function still returns the correct scaling. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no