Follow-up Comment #2, bug #67509 (group groff): The "HEAD" of our Git repository's master branch has the following test outcomes.
$ ../src/roff/groff/tests/asciify-request-works.sh && echo PASSED <beginning of page> !! foobarbaz A<dq><'e><'a>C<aa>i<fl>of<fl>ZYX 1@2@3@4@5@6@7@8@9@ 10@ 11@12@13@jat14@ antimatter15@16@17@18@19@20@21@22@23@visible24@25@ checking textification of ordinary character 'A' checking textification of special character 'dq' checking textification of composite special character 'e aa' checking textification of Unicode special character with Latin-1 mapping 'u00E1' checking textification of decomposable (with Basic Latin base character) Unicode special character 'u0106' checking textification of ligature special character 'fl' checking textification of ligature special character 'Fl' checking textification of user-defined special character 'Z' checking textification of dummy character escape sequence checking textification of EOS-transparent dummy character escape sequence checking textification of output line continuation escape sequence checking textification of tag request checking textification of device extension escape sequence checking textification of vertical motion escape sequence checking textification of (tab) horizontal motion escape sequence checking textification of (plain) horizontal motion escape sequence checking textification of unadjustable space escape sequence checking textification of unbreakable space escape sequence checking textification of hyphenless break point escape sequence checking textification of uninterpreted leader escape sequence checking textification of non-diverted uninterpreted character sequence escape sequence checking textification of diverted uninterpreted character sequence escape sequence checking textification of hyphenation inhibitor escape sequence checking textification of bracket-building escape sequence checking textification of diverted 'sp' request checking textification of drawing escape sequence checking textification of extra leading escape sequence checking textification of horizontal rule escape sequence checking textification of vertical rule escape sequence checking textification of overstriking escape sequence checking textification of drawing position reset escape sequence checking textification of diverted 'trf' request PASSED Most of the last 75 commits have been turned to this task. 1 05036f82e src/roff/troff/node.cpp: Refactor. 2 ae0adea18 [man,mdoc]: Fix Savannah #67474 (`.cflags 0 "`). 3 c4bed3131 [troff]: Update source code annotations. 4 ee2011b6c tmac/fallbacks.tmac: Fix Savannah #66653. 5 c642f5fc7 [troff]: Regression-test Savannah #66653. 6 1a38b319a [troff]: Refactor `node` class hierarchy. 7 7ad201f5e [troff]: Refactor. 8 7f0e55ae5 [groff]: Add test case for asciify of div `'trf`. 9 eb1fba607 src/roff/troff/input.cpp: Trivially refactor. 10 803baa718 src/roff/troff/input.cpp: Trivially refactor. 11 63984ee58 [troff]: Fix Savannah #67532 (diverted `trf`). 12 bef341817 [troff]: Regression-test Savannah #67532. 13 db0923eb0 [troff]: "Asciify" zero-width nodes. 14 d0d73e5af [groff]: Add test case for `asciify` of `\Z`. 15 f2e672d31 [troff]: "Asciify" suppressed nodes as nothing. 16 040bb7565 [troff]: "Asciify" `suppress` nodes as nothing. 17 638b2c06b [groff]: Add test case for `asciify` of `\O`. 18 2b2b1cc29 [troff]: "Asciify" `overstrike` nodes as nothing. 19 c5a5280ff [groff]: Add test case for `asciify` of `\o`. 20 907c0f26e [troff]: "Asciify" `vline` nodes as nothing. 21 3f40616e7 [groff]: Add test case for `asciify` of `\L`. 22 c0928359e [troff]: "Asciify" `hline` nodes as nothing. 23 06adeef5a [groff]: Add test case for `asciify` of `\l`. 24 3b25bb3f3 [troff]: "Asciify" extra space nodes as nothing. 25 e70c178f5 [groff]: Add test case for `asciify` of `\x`. 26 6863587f9 [troff]: "Asciify" draw nodes as nothing. 27 7ca553428 [groff]: Add test case for `asciify` of `\D`. 28 fdcf15088 [troff]: Asciify diverted space nodes as nothing. 29 7f6b57f0e [groff]: Add test case for `asciify` of div `'sp`. 30 feae192ce [troff]: Refactor `asciify` internals. (3/3) 31 b4696db99 [troff]: Refactor `asciify` internals. (2/3) 32 553ff83c8 [troff]: Refactor `asciify` internals. (1/3) 33 df992c999 tmac/doc.tmac: Revise copyright notice. 34 6874aaddc tmac/an.tmac: Revise copyright notice. 35 9d0d854ba [groff]: Ship test artifact in dist archive. 36 897bdec95 [troff]: "Asciify" bracket nodes as nothing. 37 cb4f3a48e [groff]: Add test case for `asciify` of `\b`. 38 7a91d64cc [troff]: Refactor (3/3). 39 9cc5fd03a [troff]: Refactor (2/3). 40 39e5cf5a5 [troff]: Refactor (1/3). 41 63a7aed4c [groff]: Add test case for `asciify` of init `\%`. 42 e1e82c720 [groff]: Add test case for `asciify` of `\?`. 43 bac4a7ab3 [groff]: Add test cases for `asciify` of ^A, ^I. 44 eab9d7638 [groff]: Add test case for `asciify` of `\a`. 45 84a10f2ee [troff]: "Asciify" token nodes as nothing. 46 65353df92 [troff]: Revise source annotations. 47 b99afa24f src/roff/troff/node.cpp: Annotate open question. 48 61facb9f0 [troff]: "Asciify" (plain) space nodes as nothing. 49 c77272d29 [groff]: Add test case for `asciify` of `\:`. 50 c850f3b3c [troff]: Asciify `\~` as space, not ESCAPE_TILDE. 51 f328d20fb [groff]: Add test case for `asciify` of `\~`. 52 cbfd7b403 [troff]: Asciify `\ ` as space, not ESCAPE_SPACE. 53 1b80436f6 [groff]: Add test case for `asciify` of `\ `. 54 40b654215 [troff]: Stop asciifying horiz motions as tabs. 55 d445aee94 src/roff/troff/node.cpp: Add validation checks. 56 961191d3d src/roff/troff/node.cpp: Slightly refactor. 57 fa8cccfaf groff_mm(7): Recast. 58 6ecb5f597 groff_mm(7): Demote "Internals" section to subsec. 59 4643db950 [groff]: Add more `asciify` test cases. 60 70c715140 [groff]: Recast test script progress messages. 61 7723d1f96 ChangeLog: Wrap entries' lines at 72 columns. 62 5661ceeab [gropdf]: Fix. 63 2a5ad85ce [gropdf]: Handle TTF->PFB converted fonts better, and restore cut'n'paste handling of '\-' mapped to U+2212. 64 7f29f1515 ANNOUNCE: Credit Alexander Monakov, Russ Allbery. 65 d9d48ad97 doc/doc.am: Trivially refactor. 66 e20864ff6 Drop `GROFF_ISC_SYSV3` Autoconf macro. 67 6eeeca1d9 src/roff/troff/node.cpp: Annotate future work. 68 71be7fc14 [troff]: "Asciify" vert motion nodes as nothing. 69 ae7e8fbde src/roff/troff/node.h: Fix code style nit. 70 6038ee68e [troff]: "Asciify" device ext nodes as nothing. 71 c06c87847 [troff]: "Asciify" tag nodes as nothing. 72 a2e7afe9d [troff]: "Asciify" xparent dummy nodes as nothing. 73 33f557ece [troff]: "Asciify" dummy nodes as nothing. 74 159bc16f1 src/roff/troff/node.cpp: Update annotations. 75 56b6f3a82 [groff]: Unit-test `asciify` request. What remains to be done is to update the documentation of the `asciify` request to intelligibly explain what it does. Incidentally, I think these revisions have made unnecessary "pdfclean" and "sanitize" operations undertaken by some familiar macro programmers implementing PDF mark support. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67509> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature