summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2003-01-02 19:07:39 +0000
committerWerner LEMBERG <wl@gnu.org>2003-01-02 19:07:39 +0000
commit8caa466c8b1ac254b5271325dfb529aec562814e (patch)
tree934ba5c9168f516e035457dddbf74887a0feb777 /tmac
parent6c7e397cd35bf60c6f038dde52ea34b72a4da469 (diff)
downloadgroff-git-8caa466c8b1ac254b5271325dfb529aec562814e.tar.gz
* font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
* font/devps/textmap: Fix entries for `ne' and `nc'. * font/devps/symbolmap: Regenerated. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list), src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18', `38', `58', `78', `-+', `|=', `nc', `ne'. * tmac/dvi.tmac: Add `nm', `ne', `nc'. Use `schar' for `aq'. * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'. * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'. * tmac/tty.tmac: Add `ne'. * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro' for fallback glyphs.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/X.tmac2
-rw-r--r--tmac/dvi.tmac10
-rw-r--r--tmac/ec.tmac6
-rw-r--r--tmac/ps.tmac2
-rw-r--r--tmac/tty.tmac1
5 files changed, 18 insertions, 3 deletions
diff --git a/tmac/X.tmac b/tmac/X.tmac
index 19530a1d1..a87dc3cd4 100644
--- a/tmac/X.tmac
+++ b/tmac/X.tmac
@@ -53,6 +53,8 @@
.fchar \[<<] <\h'-.3m'<
.fchar \[>>] >\h'-.3m'>
.fchar \[|=] \v'.1m'\Z'\[mi]'\v'-.2m'\[ap]\v'.1m'
+.fchar \[nc] \v'.1m'\Z'\h'.2m'\F[T]\f[R]/'\v'-.1m'\[sp]
+.fchar \[ne] \v'.07m'\Z'\h'.2m'\F[T]\f[R]/'\v'-.07m'\[==]
.
.de X-achar
. \" Note that character definitions are always interpreted with
diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac
index d335e1c52..717686f37 100644
--- a/tmac/dvi.tmac
+++ b/tmac/dvi.tmac
@@ -70,9 +70,16 @@
.\"char \[sq] \h'.05m'\D'l .4m 0'\D'l 0 -.4m'\D'l -.4m 0'\D'l 0 .4m'\h'.45m'
.\" SC contains a real \[!=] glyph
.schar \[!=] \[slashnot]\[eq]
+.schar \[nm] \o'\F[T]\f[R]/\[mo]'
+.fschar CW \[nm] \o'/\[mo]'
+.fschar CWI \[nm] \o'\f[CW]/\[mo]'
+.schar \[ne] \[slashnot]\[==]
+.fschar CW \[ne] \o'/\[==]'
+.fschar CWI \[ne] \o'\f[CW]/\[==]'
.fchar \[=~] \v'.1m'\Z'\[eq]'\v'-.4m'\[ap]\v'.3m'
.fchar \[tm] \v'-.3m'\s[\En[.s]/2u]TM\s0\v'.3m'
-.fchar \[aq] '
+.\" TC fonts contain real \[aq]
+.schar \[aq] '
.fchar \[bq] ,
.fchar \[Bq] ,\h'\w'\[rq]'u-(2u*\w"'"u)',
.fchar \[ho] \s[\En[.s]/2u]\v'.4m'c\v'-.4m'\s0
@@ -83,6 +90,7 @@ I\h'-.25m'\v'-.33m'\s[\En[.s]*6u/10u]\v'.33m'\
D\v'-.33m'\s0\v'.33m'
.fchar \[Tp] \zlp
.fchar \[nb] \[slashnot]\[sb]
+.fchar \[nc] \[slashnot]\[sp]
.cflags 8 \[an]
.schar \[an] \h'-.167m'\[mi]\h'-.167m'
.fschar CW \[an] -
diff --git a/tmac/ec.tmac b/tmac/ec.tmac
index 45a3f2f3d..045abd39e 100644
--- a/tmac/ec.tmac
+++ b/tmac/ec.tmac
@@ -38,8 +38,8 @@
.fspecial HIEC HITC
.fspecial HBEC HBTC
.fspecial HBIEC HBIEC
-.fspecial CWEC CWTC
-.fspecial CWIEC CWITC
+.fspecial CWEC CWTC SC
+.fspecial CWIEC CWITC SC
.
.\" remove definitions of glyphs which are in TC fonts
.rchar \[co] \[rg]
@@ -55,6 +55,8 @@
.char \[pl] \f[TREC]+
.char \[eq] \f[TREC]=
.
+.schar \[nm] \o'\f[TREC]/\[mo]'
+.
.\" an ID register
.nr ECFONTS 1
.
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index ffc8dbc0e..df2d8f84b 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -57,6 +57,8 @@
.fchar \[<<] <\h'-.2m'<
.fchar \[>>] >\h'-.2m'>
.fchar \[|=] \v'.075m'\Z'\[mi]'\v'-.15m'\[ap]\v'.075m'
+.fchar \[nc] \v'.1m'\Z'\h'.15m'\F[T]\f[R]/'\v'-.1m'\[sp]
+.fchar \[ne] \v'.07m'\Z'\h'.13m'\F[T]\f[R]/'\v'-.07m'\[==]
.
.de ps-achar
. \" Note that character definitions are always interpreted with
diff --git a/tmac/tty.tmac b/tmac/tty.tmac
index 36bcf9944..27483a636 100644
--- a/tmac/tty.tmac
+++ b/tmac/tty.tmac
@@ -44,6 +44,7 @@
.fchar \[>>] >>
.fchar \[!=] !=
.fchar \[==] ==
+.fchar \[ne] !==
.fchar \[~=] ~=
.fchar \[sq] []
.fchar \[lh] <=