Your message dated Thu, 10 Jan 2019 13:29:09 +0300
with message-id 
<CAOq2pXGrV4Z_=Q-oM2zkZOnVxoraMAXsUdhNX624m6Og=sy...@mail.gmail.com>
and subject line Re: [Pkg-tcltk-devel] Bug#918333: tk8.6: default X11 font 
sizes are set in pixels
has caused the Debian Bug report #918333,
regarding tk8.6: default X11 font sizes are set in pixels
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
918333: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918333
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tk8.6
Version: 8.6.6-1+b1
Severity: normal

Dear Maintainer,

I'm using a display with a large DPI (>300). Applications setting their
default font to a sane value in physical units (such as points) have
their fonts properly scaled. Tk applications that don't use custom fonts
(or even don't have an setting to change fonts) and rely on TkDefaultFont
instead, unfortunately, render as very tiny.

One way to fix that would be to change library/ttk/fonts.tcl to use
physical units (which is what the attached patch does). Above there is
a comment that advises against that, though.

What else can we do to make Tk applications work better on high-DPI
displays?

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-0.bpo.3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages tk8.6 depends on:
ii  libc6           2.24-11+deb9u3
ii  libfontconfig1  2.11.0-6.7+b1
ii  libfreetype6    2.6.3-3.2
ii  libtcl8.6       8.6.6+dfsg-1+b1
ii  libtk8.6        8.6.6-1+b1
ii  libx11-6        2:1.6.4-3+deb9u1
ii  libxext6        2:1.3.3-1+b2
ii  libxft2         2.3.2-1+b2
ii  libxss1         1:1.2.2-1
ii  zlib1g          1:1.2.8.dfsg-5

Versions of packages tk8.6 recommends:
ii  lxterminal [x-terminal-emulator]  0.3.0-2
ii  stterm [x-terminal-emulator]      0.6-1
ii  xterm [x-terminal-emulator]       327-2

tk8.6 suggests no packages.

-- no debconf information
--- tk8.5-8.5.19/library/ttk/fonts.tcl  2015-10-23 18:01:01.000000000 +0300
+++ tk8.5-8.5.19/library/ttk/fonts.tcl.new      2019-01-05 11:45:10.460000000 
+0300
@@ -131,10 +131,10 @@
            set F(family) "Helvetica"
            set F(fixed)  "courier"
        }
-       set F(size) -12
-       set F(ttsize) -10
-       set F(capsize) -14
-       set F(fixedsize) -12
+       set F(size) 12
+       set F(ttsize) 10
+       set F(capsize) 14
+       set F(fixedsize) 12
 
        font configure TkDefaultFont -family $F(family) -size $F(size)
        font configure TkTextFont    -family $F(family) -size $F(size)

--- End Message ---
--- Begin Message ---
Version: 8.6.8-4

Hi Ivan,

On Sat, Jan 5, 2019 at 12:00 PM Ivan Krylov <[email protected]> wrote:
> I'm using a display with a large DPI (>300). Applications setting their
> default font to a sane value in physical units (such as points) have
> their fonts properly scaled. Tk applications that don't use custom fonts
> (or even don't have an setting to change fonts) and rely on TkDefaultFont
> instead, unfortunately, render as very tiny.
>
> One way to fix that would be to change library/ttk/fonts.tcl to use
> physical units (which is what the attached patch does). Above there is
> a comment that advises against that, though.

This particular bug is already fixed in tk8.6 version 8.6.8-4, with
very similar patch.

>
> What else can we do to make Tk applications work better on high-DPI
> displays?

There are a few bugs open at the Tcl/Tk bugtracker, which are dvoted
High DPI, particularly:
https://core.tcl.tk/tk/tktview/1fba28d328b00704236b
https://core.tcl.tk/tk/tktview/3550691fffffffffffff
https://core.tcl.tk/tk/tktview/3550691fffffffffffff
https://core.tcl.tk/tk/tktview/0917069c05e9c354a27c

I'd say that apart from checkbuttons and radiobuttons, everything else
looks fine (for Tk, not Ttk,
which way depends on the theme used).

So, I'm closing the bug

Cheers!
-- 
Sergei Golovan

--- End Message ---
_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to