summaryrefslogtreecommitdiff
path: root/tmac/www.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-10-26 04:20:55 +0000
committerwlemb <wlemb>2002-10-26 04:20:55 +0000
commit1ce342d083dd738e46cc7ead8923c57dcabfc76b (patch)
treea1a0cafe3b2457b8593fb2b7b8584e98c835ac34 /tmac/www.tmac
parentd318fcbe4ff84f84bfcbe83f0ff9f1eac7582d44 (diff)
downloadgroff-1ce342d083dd738e46cc7ead8923c57dcabfc76b.tar.gz
* tmac/www.tmac (DC): Fix case of overlapping images.
Diffstat (limited to 'tmac/www.tmac')
-rw-r--r--tmac/www.tmac14
1 files changed, 12 insertions, 2 deletions
diff --git a/tmac/www.tmac b/tmac/www.tmac
index 0db647eb..01de668f 100644
--- a/tmac/www.tmac
+++ b/tmac/www.tmac
@@ -513,9 +513,19 @@
. el \{\
. ie r ps4html \{\
. www-make-unique-name
+. \" To avoid interferences with another DC macro call which is located
+. \" very near to the current one, we draw the glyph on a separate page.
+. \" Otherwise it could theoretically happen that the dropped capital
+. \" glyphs overlap.
+. bp
+. ev www-DC
+. vs 80p
. nop \O[5i\\*[www-unique-name].png]\O[1]
-. nop \m[\\*[www-dropcolor]]\s[40]\O[3]\\$1\O[4]\s0\m[]
-. nop \O[2]\O[1]
+. nop \m[\\*[www-dropcolor]]\s[40]\O[3]\\$1\O[4]
+. nop \O[2]\O[0]
+. br
+. ev
+. bp
. \}
. el \{\
. nr dummy \w'\\$1'u