Your message dated Tue, 20 Jan 2026 18:15:43 +0000 with message-id <[email protected]> and subject line Bug#1122337: Removed package(s) from unstable has caused the Debian Bug report #977251, regarding grpn renders fonts incorrectly on high DPI screen 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.) -- 977251: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977251 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: grpn Version: 1.4.1-1+b1 Severity: important Howdy! I've flagged this `important` because the rendering bug is quite severe on my system, largely rendering grpn unusable for me. My system has a high DPI screen, and I correspondingly configure various system-level DPI to be higher to compensate. For example, I have `~/.Xresources` containing `Xft.dpi: 200`. Pango font rendering renders fonts correctly in and of itself, but grpn mis-calculates the line height in this circumstance. I'm not sure if there's a better method, but I found that using gdk_get_screen_resolution returns `200.0` for me, and I can scale grpn's calculated fontH and fontW by (resolution/96), which gives me perfect font rendering. Here's a patch: --- grpn-1.4.1/lcd.c 2017-11-11 02:29:45.000000000 -0800 +++ grpn-1.4.1-fixed/lcd.c 2020-12-12 22:29:39.334770757 -0800 @@ -148,8 +148,17 @@ pango_context_get_metrics(pango_context, pango_desc, pango_language_get_default()); fontW = (pango_font_metrics_get_approximate_digit_width(pango_metrics))/PANGO_SCALE; - fontH = (pango_font_metrics_get_ascent(pango_metrics) + pango_font_metrics_get_descent(pango_metrics))/PANGO_SCALE; - fontD = pango_font_metrics_get_descent(pango_metrics)/PANGO_SCALE; + + GdkScreen * screen = gdk_screen_get_default(); + gdouble resolution; + if(screen == NULL) { + resolution = 96.0; + } else { + resolution = gdk_screen_get_resolution(screen); + } + + fontH = (pango_font_metrics_get_ascent(pango_metrics) + pango_font_metrics_get_descent(pango_metrics))/PANGO_SCALE * resolution / 96.0; + fontD = pango_font_metrics_get_descent(pango_metrics)/PANGO_SCALE * resolution / 96.0; gtk_widget_modify_font(lcdDA, pango_desc); #else -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages grpn depends on: ii libatk1.0-0 2.36.0-2 ii libc6 2.31-4 ii libcairo2 1.16.0-4 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.10.2+dfsg-4 ii libgdk-pixbuf2.0-0 2.40.0+dfsg-7 ii libglib2.0-0 2.66.3-1 ii libgtk2.0-0 2.24.32-5 ii libpango-1.0-0 1.46.2-3 ii libpangocairo-1.0-0 1.46.2-3 ii libpangoft2-1.0-0 1.46.2-3 ii libx11-6 2:1.6.12-1 grpn recommends no packages. grpn suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 1.4.1-1.1+rm Dear submitter, as the package grpn has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1122337 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---

