From: serg.partizan@gmail.com
To: Johannes Sixt <j6t@kdbg.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Fix default font scaling
Date: Sun, 23 Jun 2024 13:11:22 +0300 [thread overview]
Message-ID: <YY2JFS.UYR26AJBROJJ3@gmail.com> (raw)
In-Reply-To: <506e1f16-ac02-496c-a9dc-414726c1c37f@kdbg.org>
On нд, чер 23 2024 at 11:13:53 +02:00:00, Johannes Sixt
<j6t@kdbg.org> wrote:
> Am 21.06.24 um 09:18 schrieb Serhii Tereshchenko:
>> Thanks! I tried booting into Fedora/37 with the same Tk version,
>> and it
>> indeed does not have this scaling problem.
>>
>> Then, I downgraded packages on Arch to 8.6.12 and 8.6.13 - also no
>> problem.
>>
>> The only version affected is 8.6.14.
>>
>> That's probably a bug in Tk (and there's quite a few reported,
>> mostly
>> about "tk scaling" https://core.tcl-lang.org/tk/info/1de3a48312, we
>> don't use it explicitly in git-gui but on my system it is set to
>> 1.3)
>
> What is the best course of action now? Since this change does not make
> things any different for me on Linux+KDE, I am inclined to pick up
> this
> patch with a modified commit message and code comment that clearly
> state
> that this is a work-around for a bug in Tk introduced in 8.6.14. This
> would help users who upgrade from an earlier version of Tk, because it
> does not look like a fix of Tk is in the works (or that the issue is
> regarded as a regression by Tk people at all).
>
> Suggestions?
>
> -- Hannes
I tried running default git-gui and this patch on macOS 12 Monterey,
and that version does not have font scaling, so there's no problem. I
will ask around and maybe find someone with latest macOS, which has
font scaling, and see if there's a problem.
Patch does not breaks anything, but produces a warning due to system
fonts being present in 'font names'.
Then, if turns out this linux-specific problem - i'd limit this fix
only to linux. If this affects other platforms - i'd filter fonts to
only include those starting with 'Tk' prefix.
next prev parent reply other threads:[~2024-06-23 10:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-15 8:53 [PATCH] Fix default font scaling Serhii Tereshchenko
2024-06-15 16:32 ` Eric Sunshine
2024-06-16 10:30 ` Johannes Sixt
2024-06-16 12:37 ` Serhii Tereshchenko
2024-06-20 17:24 ` Johannes Sixt
2024-06-20 18:11 ` Serhii Tereshchenko
2024-06-20 22:04 ` Johannes Sixt
2024-06-21 7:18 ` Serhii Tereshchenko
2024-06-23 9:13 ` Johannes Sixt
2024-06-23 10:11 ` serg.partizan [this message]
2024-06-23 14:00 ` serg.partizan
2024-06-23 15:50 ` Johannes Sixt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YY2JFS.UYR26AJBROJJ3@gmail.com \
--to=serg.partizan@gmail.com \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox