On Sun, Oct 25, 2026 at 02:08:33AM +0200, Thorsten Glaser wrote: > Package: xterm > Version: 398-1 > Severity: minor > Tags: upstream > X-Debbugs-Cc: [email protected] > > By request of upstream, using debbugs for questions about xterm. > > > The (under‑)line thickness in xterm on hiDPI displays is too small. > > I’m looking at two things. First, the underlining of characters, > such as control characters in jupp, which is probably the same > as raw output ESC [ 4 m. It seems half as thick on the hiDPI work > laptop as on my Thinkpad X61 (both with Debian xterm) and possibly > a pixel too high?
xterm's using XDrawLine with the default line-thickness (probably 1 pixel). That's something that could be changed (I'm more likely to add a resource setting than try to automatically derive a good thickness). It's just positioning the line one pixel below the baseline. If the line thickness were configurable, that positioning probably should be the same as the line-thickness. > For the hiDPI laptop, I’m using an 18×36 font that is the same as > the normal 9×18 FixedMisc, scaled up (and a few diagonals softened). > > I cannot seem to find something for .Xresources to affect this > in the manpage. > > The other is the underline cursor thickness, which I noticed by > “ssh -YC”ing to the Thinkpad from the hiDPI laptop, but this seems > to work fine on the latter, so it’s probably solved just by me > installing the big-cursor package? It makes the thin underlining > more noticeable, though. There are several cursor packages (I see that "comixcursors" has some variations including a "huge" size -- as usual ymmv) > > I’m attaching a few screenshots, maybe they make debugging easier. > The █ glyph in the font is full height, all pixels filled in. > > The font is at: https://mbsd.evolvis.org/MirOS/dist/mir/Foundry/ > > > > > -- System Information: > Debian Release: 13.7 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'proposed-updates'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 6.12.111+deb13-amd64 (SMP w/16 CPU threads; PREEMPT) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set > Shell: /bin/sh linked to /usr/bin/dash > Init: sysvinit (via /sbin/init) > > Versions of packages xterm depends on: > ii libc6 2.41-12+deb13u4 > ii libfontconfig1 2.15.0-2.3 > ii libfreetype6 2.13.3+dfsg-1+deb13u1 > ii libice6 2:1.1.1-1 > ii libtinfo6 6.5+20250216-2 > ii libutempter0 1.2.1-4 > ii libx11-6 2:1.8.12-1 > ii libxaw7 2:1.0.16-1 > ii libxext6 2:1.3.4-1+b3 > ii libxft2 2.3.6-1+b4 > ii libxinerama1 2:1.1.4-3+b4 > ii libxmu6 2:1.1.3-3+b4 > ii libxpm4 1:3.5.17-1+deb13u1 > ii libxt6t64 1:1.2.1-1.2+b2 > ii xbitmaps 1.1.1-2.2 > > Versions of packages xterm recommends: > ii luit [luit] 2.0.20240910-1 > ii x11-utils 7.7+7 > > Versions of packages xterm suggests: > pn xfonts-cyrillic <none> > > -- no debconf information -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
Description: PGP signature

