[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog src/preproc/grn/main.cpp
From: |
Keith Marshall |
Subject: |
[Groff-commit] groff ./ChangeLog src/preproc/grn/main.cpp |
Date: |
Thu, 26 Jan 2006 05:24:44 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Keith Marshall <address@hidden> 06/01/26 05:24:44
Modified files:
. : ChangeLog
src/preproc/grn: main.cpp
Log message:
* src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
(conv): Use it.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/ChangeLog.diff?tr1=1.889&tr2=1.890&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/preproc/grn/main.cpp.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.889 groff/ChangeLog:1.890
--- groff/ChangeLog:1.889 Mon Jan 23 07:29:49 2006
+++ groff/ChangeLog Thu Jan 26 05:24:44 2006
@@ -1,3 +1,10 @@
+2006-01-26 Keith Marshall <address@hidden>
+
+ Suppress `.st' request emission by `grn'.
+
+ * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
+ (conv): Use it.
+
2006-01-22 Werner LEMBERG <address@hidden>
* install-sh: New version; taken from texinfo CVS.
Index: groff/src/preproc/grn/main.cpp
diff -u groff/src/preproc/grn/main.cpp:1.4 groff/src/preproc/grn/main.cpp:1.5
--- groff/src/preproc/grn/main.cpp:1.4 Tue May 3 10:05:33 2005
+++ groff/src/preproc/grn/main.cpp Thu Jan 26 05:24:44 2006
@@ -97,6 +97,20 @@
/* #define DEFSTIPPLE "gs" */
#define DEFSTIPPLE "cf"
+/*
+ * This grn implementation emits `.st' requests to control stipple effects,
+ * but groff does not (currently) support any such request.
+ *
+ * This hack disables the emission of such requests, without destroying the
+ * infrastructure necessary to support the feature in the future; to enable
+ * the emission of `.st' requests, at a future date when groff can support
+ * them, simply rewrite the following #define as:
+ *
+ * #define USE_ST_REQUEST stipple
+ *
+ * with accompanying comment: ``emit `.st' requests as required''.
+ */
+#define USE_ST_REQUEST 0 /* never emit `.st' requests */
#define MAXINLINE 100 /* input line length */
@@ -566,7 +580,7 @@
".sp -1\n",
xright - xleft, ybottom - ytop, GScommand);
- if (stipple) /* stipple requested for this picture */
+ if (USE_ST_REQUEST) /* stipple requested for this picture */
printf(".st %s\n", stipple);
lastx = xleft; /* note where we are (upper left */
lastyline = lasty = ytop; /* corner of the picture) */
@@ -632,7 +646,7 @@
printf("\\D't %du'\n", DEFTHICK);
if (flyback) /* make sure we end up at top of */
printf(".sp -1\n"); /* picture if `flying back' */
- if (stipple) /* restore stipple to previous */
+ if (USE_ST_REQUEST) /* restore stipple to previous */
printf(".st\n");
printf(".br\n"
".ft \\n(g3\n"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog src/preproc/grn/main.cpp,
Keith Marshall <=