Follow-up Comment #2, bug #68676 (group groff):

By accident I put a comment in bug #68667 instead of here!

The test script which smoke-tested pdf output failed because it was
constrained to a particular version of gropdf. I offered an alternative
test:-

printf ".nf\n.kern 0\nHello my big beautiful World"|test-groff -Tpdf -P-f3 |
grep -Faq '0.000 Tw [ (Hello my big beautiful World)] TJ'; echo $?

zero is a match

The grep pattern is for a complete line in the pdf which will not be affected
by possible changes to kern pairs in the font (.kern 0) nor any filling
adjustments (.nf). The position of this line in the file may well change
across gropdf versions but there is a low probability this line will change.
The -P-f3 ensyres that the object streams are not compressed binary data.

The change to this test means that it is currently just testing if troff
inckudes the line "T pdf". I agree that specific driver tests belong in their
own tests directory.



    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to