bug-groff
[Top][All Lists]
Advanced

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

[bug #65936] [grohtml] litters working directory with 0-length image fil


From: G. Branden Robinson
Subject: [bug #65936] [grohtml] litters working directory with 0-length image files
Date: Fri, 5 Jul 2024 04:39:07 -0400 (EDT)

Follow-up Comment #4, bug #65936 (group groff):

Something to note; I carelessly rendered Git HEAD's version of "ms.ms" in
comment #3.

When I render 1.23.0's "ms.ms" with 1.23.0, I do get _some_ complaints from
_pnmcrop_ and _pnmtopng_, and _some_ zero-length files, but not 59 of them.


$ ~/groff-stable/bin/groff -p -e -t -ms -Thtml
~/groff-stable/share/doc/groff-1.23.0/ms.ms >| ms.html
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:213: error:
suppression limit registers span more than a page; grohtml-info for image 1
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:360: error:
suppression limit registers span more than a page; grohtml-info for image 5
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:1767: error:
suppression limit registers span more than a page; grohtml-info for image 20
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:2116: error:
suppression limit registers span more than a page; grohtml-info for image 25
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:2398: error:
suppression limit registers span more than a page; grohtml-info for image 31
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:2756: error:
suppression limit registers span more than a page; grohtml-info for image 37
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:3585: error:
suppression limit registers span more than a page; grohtml-info for image 48
will be wrong
troff:/home/branden/groff-stable/share/doc/groff-1.23.0/ms.ms:4406: error:
suppression limit registers span more than a page; grohtml-info for image 57
will be wrong
pnmcrop: The image is entirely background; there is nothing to crop.
pnmtopng: EOF / read error reading magic number
Calling 'pnmcut 357 317 136 42 < /tmp/branden/groff-page-CSzByk | pnmcrop
-quiet | pnmtopng -quiet -background rgb:f/f/f -transparent rgb:f/f/f>
grohtml-4921-54.png
' returned status 256
pnmcrop: The image is entirely background; there is nothing to crop.
pnmtopng: EOF / read error reading magic number
Calling 'pnmcut 100 250 651 153 < /tmp/branden/groff-page-CSzByk | pnmcrop
-quiet | pnmtopng -quiet -background rgb:f/f/f -transparent rgb:f/f/f>
grohtml-4921-55.png
' returned status 256
pnmcrop: The image is entirely background; there is nothing to crop.
pnmtopng: EOF / read error reading magic number
Calling 'pnmcut 100 530 651 44 < /tmp/branden/groff-page-CSzByk | pnmcrop
-quiet | pnmtopng -quiet -background rgb:f/f/f -transparent rgb:f/f/f>
grohtml-4921-56.png
' returned status 256
$ ls -1s | grep '^ *0'
  0 grohtml-4921-54.png
  0 grohtml-4921-55.png
  0 grohtml-4921-56.png


Three empty files would seem to align with the three pairs of squawks from
_pnmcrop_ and _pnmtopng_.

I further observe that there are other problems with _grohtml_ in production
of this document, like no paragraph breaks anywhere.

It's possible _ms_ was never fully wired up to _grohtml_.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65936>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]