/usr/share/doc/gdb/refcard.dvi.gz should be built with papersize hints[*], otherwise the output can be truncated (depending on how xdvi is called). [*] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461613
I looked at the refcard PDF for GDB 16.3 and it is fine; no truncation anywhere. It appears like this bug has since been fixed. I'm closing it, but feel free to reopen if it's still valid. Thanks,
Control: reopen -1 Control: found -1 16.3-1 See the attached screenshot of xdvi /usr/share/doc/gdb/refcard.dvi.gz I have the following settings: qaa:~> paper A4: 210x297 mm
Control: severity -1 minor Thanks for double-checking. I don't know much about dvi rendering; I'll take a look at the bug you've mentioned when you reported the problem and see if there's anything we can do on Debian's side.
There was bug 461814 in pari that was very similar. AFAIK, it has
been fixed by adding \special{papersize=29.7cm,21cm} in some .tex
file (I'll do some tests). So perhaps that's an upstream bug.
Yes, that's what I wanted to confirm. If it involves modifying upstream files, then it should be reported upstream. Would you be willing to do it? Thanks,
Yes, I'll do that with a fix (hopefully). (I'll also report the other bug upstream.)
Control: tags -1 upstream patch I've just submitted a patch: https://sourceware.org/pipermail/gdb-patches/2025-August/219754.html (also attached to this mail).