From: "Felix E. Klee" <felix.klee@inka.de>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 20432-done@debbugs.gnu.org
Subject: bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar
Date: Thu, 14 May 2015 13:46:05 +0100 [thread overview]
Message-ID: <CA+m_8J3DBuptYmXj=1eWE9ZiE-G_DyDR0uY+oVrJc=3RJfzb-A@mail.gmail.com> (raw)
In-Reply-To: <55549619.6010503@swipnet.se>
On Thu, May 14, 2015 at 1:33 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
>> That is what `GDK_DPI_SCALE` is for. Example:
>>
>> export GDK_SCALE=2
>> export GDK_DPI_SCALE=0.5
>
> That does not help. For WM hints, Gtk+ uses GDK_SCALE.
OK. BTW on the system I’ve set up I position and resize windows with the
WM (FVWM), and there are no issues with `GDK_SCALE`. If I specify that a
window should be sized 2000 × 1000 px, then it’s set to that size.
`GDK_SCALE` only affects the contents of the window.
> Anyway, multiplying with 0.5 or divide by 2 is the same for integer
> arithmetics.
0.5 is not an integer. ;-)
> An alternative would be for Emacs to multply font sizes with
> GDK_SCALE.
Why bother? Don’t fonts get rendered via the GTK+ API?
next prev parent reply other threads:[~2015-05-14 12:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-26 10:01 bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar Felix E. Klee
2015-04-26 21:10 ` bug#20432: Further information (plus 1/2 workaround) Felix E. Klee
2015-05-14 11:34 ` bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar Jan Djärv
2015-05-14 11:59 ` Felix E. Klee
2015-05-14 12:33 ` Jan Djärv
2015-05-14 12:46 ` Felix E. Klee [this message]
2015-05-14 13:13 ` Jan Djärv
2015-05-14 14:04 ` Felix E. Klee
2015-05-14 16:38 ` Paul Eggert
2015-05-14 17:57 ` Jan D.
2015-05-15 2:59 ` Paul Eggert
2015-05-15 7:01 ` Jan D.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+m_8J3DBuptYmXj=1eWE9ZiE-G_DyDR0uY+oVrJc=3RJfzb-A@mail.gmail.com' \
--to=felix.klee@inka.de \
--cc=20432-done@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).