[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1106840: marked as done (unblock: tkcon/2:2.7.11-6)



Your message dated Fri, 30 May 2025 22:31:54 +0000
with message-id <E1uL8GY-0006iA-2w@respighi.debian.org>
and subject line unblock tkcon
has caused the Debian Bug report #1106840,
regarding unblock: tkcon/2:2.7.11-6
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 owner@bugs.debian.org
immediately.)


-- 
1106840: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106840
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: tkcon@packages.debian.org
Control: affects -1 + src:tkcon
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package tkcon

[ Reason ]
The new version fixes a bug with too small fonts on High DPI displays
(see [1]). It specifies the initial font sizes in points instead of
pixels.

[ Impact ]
The package currently in trixie specifies initilal font sizes in pixels,
which make them too small on high DPI diplays. One can manually adjust
the fonts using a keyboard shortcut, but doing this every time Tkcon
starts is a bit annoying.

[ Tests ]
There's no automated tests, I've tested the change manually on both
high and low DPI displays.
 
[ Risks ]
The changes are trivial, the package is a leaf package, I don't expect
any adverse effects.

[ Checklist ]
  [+] all changes are documented in the d/changelog
  [+] I reviewed all changes and I approve them
  [+] attach debdiff against the package in testing

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1105040

unblock tkcon/2:2.7.11-6
diff -Nru tkcon-2.7.11/debian/changelog tkcon-2.7.11/debian/changelog
--- tkcon-2.7.11/debian/changelog	2025-03-22 16:27:56.000000000 +0300
+++ tkcon-2.7.11/debian/changelog	2025-05-10 13:50:43.000000000 +0300
@@ -1,3 +1,10 @@
+tkcon (2:2.7.11-6) unstable; urgency=medium
+
+  * Fix setting font sizes for high DPI displays by specifying them using
+    points instead of pixels (closes: #1105040).
+
+ -- Sergei Golovan <sgolovan@debian.org>  Sat, 10 May 2025 13:50:43 +0300
+
 tkcon (2:2.7.11-5) unstable; urgency=medium
 
   * Fix a typo in the patch for support of Tcl 9.
diff -Nru tkcon-2.7.11/debian/patches/font-sizes.patch tkcon-2.7.11/debian/patches/font-sizes.patch
--- tkcon-2.7.11/debian/patches/font-sizes.patch	1970-01-01 03:00:00.000000000 +0300
+++ tkcon-2.7.11/debian/patches/font-sizes.patch	2025-05-10 13:50:43.000000000 +0300
@@ -0,0 +1,23 @@
+From: Sergei Golovan
+Subject: Use points instead of pixels for font sizes.
+ This helps with too small fonts on high DPI displays.
+Date: Sat, 10 May 2025 13:50:03 +0300
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1105040
+
+--- a/tkcon.tcl
++++ b/tkcon.tcl
+@@ -641,10 +641,10 @@ proc ::tkcon::InitUI {title} {
+     }
+     set PRIV(base) $w
+ 
+-    catch {font create tkconfixed      -family Courier -size -12}
+-    catch {font create tkconfixedbold  -family Courier -size -12 -weight bold}
+-    catch {font create tkconfixedlarge -family Courier -size -18 -weight bold}
+-    catch {font create tkconfixedsmall -family Courier -size -8  -weight bold}
++    catch {font create tkconfixed      -family Courier -size 10}
++    catch {font create tkconfixedbold  -family Courier -size 10 -weight bold}
++    catch {font create tkconfixedlarge -family Courier -size 14 -weight bold}
++    catch {font create tkconfixedsmall -family Courier -size 7  -weight bold}
+ 
+     set PRIV(statusbar) [set sbar [frame $w.fstatus]]
+     set PRIV(tabframe)  [frame $sbar.tabs]
diff -Nru tkcon-2.7.11/debian/patches/series tkcon-2.7.11/debian/patches/series
--- tkcon-2.7.11/debian/patches/series	2025-03-22 16:27:56.000000000 +0300
+++ tkcon-2.7.11/debian/patches/series	2025-05-10 13:50:43.000000000 +0300
@@ -1,2 +1,2 @@
-# Nothing here
 tk9.patch
+font-sizes.patch

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: