[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 09/10: [grohtml]: Reduce noise to standard error stream.
From: |
G. Branden Robinson |
Subject: |
[groff] 09/10: [grohtml]: Reduce noise to standard error stream. |
Date: |
Mon, 26 Jul 2021 20:38:50 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 13ceb5aceae63e7709dc4ad36085eb95ff2a6484
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jul 26 23:53:51 2021 +1000
[grohtml]: Reduce noise to standard error stream.
* src/preproc/html/pre-html.cpp (imageList::createImage): Fix apparent
oversight: `EXE_EXT` was not being applied to the second of three
commands being run in a pipeline (did Windows users notice?). Also
issue (undocumented!) `-quiet` option to `pnmtopng` to shut up its
commentary about counting colors.
---
ChangeLog | 10 ++++++++++
src/preproc/html/pre-html.cpp | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 8cb0ebf..0d405ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2021-07-26 G. Branden Robinson <g.branden.robinson@gmail.com>
+ [grohtml]: Reduce noise to standard error stream.
+
+ * src/preproc/html/pre-html.cpp (imageList::createImage): Fix
+ apparent oversight: `EXE_EXT` was not being applied to the
+ second of three commands being run in a pipeline (did Windows
+ users notice?). Also issue (undocumented!) `-quiet` option to
+ `pnmtopng` to shut up its commentary about counting colors.
+
+2021-07-26 G. Branden Robinson <g.branden.robinson@gmail.com>
+
[grohtml]: Stop discarding standard error output.
* src/preproc/html/pre-html.cpp (html_system): Stop sending the
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index 4ff475c..7fb7c64 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -1013,11 +1013,13 @@ void imageList::createImage(imageItem *i)
+ 1 + IMAGE_BORDER_PIXELS;
if (createPage(i->pageNo) == 0) {
s = make_message("pnmcut%s %d %d %d %d < %s "
- "| pnmcrop -quiet | pnmtopng%s %s > %s\n",
+ "| pnmcrop%s -quiet | pnmtopng%s -quiet %s"
+ "> %s\n",
EXE_EXT,
x1, y1, x2 - x1 + 1, y2 - y1 + 1,
imagePageName,
EXE_EXT,
+ EXE_EXT,
TRANSPARENT,
i->imageName);
if (s == NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 09/10: [grohtml]: Reduce noise to standard error stream.,
G. Branden Robinson <=