diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-11-11 15:49:24 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-11-12 13:17:16 -0600 |
commit | 5a5a447b2a834f92112609a67821c1a37fdc66cd (patch) | |
tree | 6547802e8df3c176b5d9db2ff685ccff4170a2ed /NEWS | |
parent | acec1d96bd226698dcd5232b384f6b473e5a104e (diff) | |
download | groff-git-5a5a447b2a834f92112609a67821c1a37fdc66cd.tar.gz |
[afmtodit]: Implement "-w" command-line option.
* src/utils/afmtodit/afmtodit.pl: Add new command-line option to specify
the generated font description's "spacewidth" parameter; in commit
bf7f6862c3, 2021-09-24, I made libgroff complain if this directive is
missing (since any font, even a "special" one, can be selected as
current and the formatter's behavior when encountering an input space
should be well-defined under that circumstance). Adding this option
enables a well-formed font description to be produced.
* src/utils/afmtodit/afmtodit.pl (usage):
* src/utils/afmtodit/afmtodit.1.man (Synopsis, Options): Document it.
* NEWS: Add item.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -606,6 +606,13 @@ o afmtodit no longer writes file names with directory information in o afmtodit now exits with status 2 (not 1) upon usage errors. +o afmtodit now recognizes a '-w' option to specify the generated font + description's "spacewidth" parameter (see groff_font(5)). The + internal library "libgroff" now emits a diagnostic if a font + description file is missing such a directive. Adding this option + enables a well-formed font description to be produced by the tool + (without requiring editing by hand). + o pfbtops now exits with status 2 upon usage errors and the standard C library's `EXIT_FAILURE` status (usually 1) on operational failures instead of vice versa. |