[Aptitude-devel] Bug#962926: Images of aptitude screens are illegible due to being scaled to browser width

Norman Rasmussen norman at darkskies.za.net
Mon Mar 8 02:43:26 GMT 2021


Package: aptitude-doc-en
Version: 0.8.13-3
Followup-For: Bug #962926

With respect to asciinema: I found two asciicast to svg converters:
 - https://github.com/marionebl/svg-term-cli (MIT)
 - https://github.com/nbedos/termtosvg (BSD-3-Clause)

Both generated an animated svg by default, but have an option to extract
a single frame (svg-term-cli), or all frames (termtosvg). I found that
termtosvg rendered aptitude better than svg-term-cli.

I also tried the Secure Shell chrome extension (which uses hterm
internally, both nassh and hterm as BSD-3-Clause), and while it's
possible to capture a decent screenshot with it, the output is html and
not svg.

I'm not sure how much switching to svg would help overall. Removing the
100% width would probably help the most. Refreshing the images at a
higher resolution wouldn't hurt either. Both are easier than trying to
change the image format.

Regards

Norman

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

aptitude-doc-en depends on no packages.

aptitude-doc-en recommends no packages.

Versions of packages aptitude-doc-en suggests:
ii  aptitude  0.8.13-3

-- no debconf information



More information about the Aptitude-devel mailing list