Re: groff 1.25 status (was: [PATCH v2] [eqn]: Use XML character references in MathML output.)
"G. Branden Robinson" <[email protected]> Sat, 4 Jul 2026 06:31:24 -0500
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260704113124.pvt2zckhbjt6muou@illithid> |
At 2026-06-26T14:54:33-0500, G. Branden Robinson wrote:
> Here's a list of things I'd like to get done for 1.25.
>
> * Finish refactoring libgroff's `string` class for "fastidiousness"
> and to seize some performance improvements. (My working copy has a
> revision of `string::move()` that appears to buy about a 5%
> improvement in total groff build time, which if my arithmetic is
> correct, must be an underestimate, since most of the groff build
> time is spent running the C++ compiler and linker, not running
> groff's own programs. A better measurement would involve scrubbing
> from the tree the documents groff generates, then rebuilding them.
> I have a script to do this many times to get a "good statistical
> sample", but haven't run it on this change yet.)
I've completed this work for now.
The 5% improvement unfortunately proved to be a spurious artifact of
buffering or caching on my system. The most I can say is that
performance seems unchanged for large workloads like the following.
$ cat ATTIC/64bashes.bash
#!/bin/bash
: ${groff:=./build/test-groff}
set -e
m=$(man -w bash) && \
for n in $(seq 64)
do
cat "$m" >> 64bashes.man
done
time -p "$groff" -m an -T utf8 -Z 64bashes.man > 64bashes.grout
rm -f 64bashes.man 64bashes.grout
> * Fix Savannah #68345: [troff] stop throwing font deprecation warnings
> on font names the user remaps to valid names.
>
> * Fix Savannah #68309: [grohtml] want monospaced fonts back in man
> pages, gone in 1.22.4.
>
> I'm not _positive_ I can fix that one cleanly and correctly, but I
> want to try.
>
> * Fix Savannah #68216: [PATCH] tmac/es.tmac: update/correct Spanish
> string translations.
>
> * Fix Savannah #66987: [PATCH] [troff] refactor to kill off
> `ESCAPE_NEWLINE`.
This one's done and pushed.
> * Sort out the eqn(1) MathML generation problem you reported.
>
> * [Fix Savannah #68407:] Incorporate Stefan Möding's pic(1)ture, as
> noted above.
This one's done and pushed. It required significant effort in the build
system; "doc/doc.am" remains a complex beast, but I hope that it is a
more comprehensible monster than it used to be.
There are also some cleanups I'd like to do to "doc/ms.ms.in" and
"doc/Groff-PDF-Features.ms". That's Savannah #68354.
Lay your wagers now regarding whether I manage to irrevocably commit
transposition errors in ticket numbers 68345 and 68354.
Thoughts?
Regards,
Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmpI7wUACgkQ0Z6cfXEm bc5RABAAn3feB5AXJ1n1CfnShtKYI6gSwRN69tqOMXftUDEPbsbe1lFZsPg915PR 3iik1Kfp5BSHzKRZzUHOgahq7lVMb+t5R2c47UZ9G+gpWwqxESEX1FKi722ELy3C ydURBDGolsNuGoMt3jXXTkV/tWqwfpe2k6j7NByPEqgYtfGgqYBbOBC3ruuXW00j fibWGxphOTewAfqZ/zoYK6We00TAGXL3L+IcXYcDh46Or7waYpbnm7Dw2WKnBdq2 gxtjHxXQwm/FXy7zI8Hv94VzQEmupHk38pDMtOWY1ggjIG66CK+xsxITNtCNGrm6 8Iy9ZFIgPHhRBPplyx09RXeMjwTEa0ktprSzg4SCRGkOUwgq2JIty+X+vWZ1iJWq gAGlCRisn3zfJGyRM3Ym1AsKF4u6HlTzkclQWb3snY+eTHG8bYbz1uXetJb2ZMbk B6BS/7cpWFMLU264VKHFl37YgcrH1uVtwWIG70vnVn7p/6+w7MMWdFPigEYEuhqt Uy27zLwHNtRjPAxNvEc/XiHa+JRLsloTBS+7VaBEM0bkn64vo84KnwiyBG5sqKkQ iKkitwSeUcb1Bi3AwOFdLym87KRgj9OhL4VW97qk/asY9RcQK3CqqdHjSJKQ2R9t CHSv6pQWC3Qq7rwpcy0OjE0QTHS3ILPpJuamxDxaChOI/7GRqA0= =M3p5 -----END PGP SIGNATURE-----