summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-07-25 15:42:58 +0000
committerwlemb <wlemb>2001-07-25 15:42:58 +0000
commitaaa4d7c8f133669eaf86762a154baadf9a6e48b4 (patch)
treeb541f5ab50b91f2a0f656d580f9af30d745de3c7 /src
parent0647ab8120153c0480a89d61a12e68d449f7fa04 (diff)
downloadgroff-aaa4d7c8f133669eaf86762a154baadf9a6e48b4.tar.gz
* aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
* src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET. * Makefile.in: Comment updated. * configure: Regenerated. * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour name instead of number.
Diffstat (limited to 'src')
-rw-r--r--src/preproc/html/pre-html.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/preproc/html/pre-html.cc b/src/preproc/html/pre-html.cc
index 399345be..199c3315 100644
--- a/src/preproc/html/pre-html.cc
+++ b/src/preproc/html/pre-html.cc
@@ -58,12 +58,16 @@ extern "C" const char *Version_string;
#define POSTSCRIPTRES 72000 // maybe there is a better way to find this? --fixme--
#define DEFAULT_IMAGE_RES 80 // 80 pixels per inch resolution
-#define DEFAULT_VERTICAL_OFFSET 45 // DEFAULT_VERTICAL_OFFSET/72 of an inch
+#ifdef PAGEA4
+# define DEFAULT_VERTICAL_OFFSET 0 // DEFAULT_VERTICAL_OFFSET/72 of an inch
+#else
+# define DEFAULT_VERTICAL_OFFSET 50 // DEFAULT_VERTICAL_OFFSET/72 of an inch
+#endif
#define IMAGE_BOARDER_PIXELS 0
#define MAX_WIDTH 8 // inches
#define INLINE_LEADER_CHAR '\\'
-#define TRANSPARENT "-background \"#FFF\" -transparent \"#FFF\""
+#define TRANSPARENT "-background white -transparent white"
#define PAGE_TEMPLATE_SHORT "pg"
#define PAGE_TEMPLATE_LONG "-page-"