summaryrefslogtreecommitdiff
path: root/tmac/ps.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-11-07 06:06:58 +0000
committerwlemb <wlemb>2002-11-07 06:06:58 +0000
commite7fd4b6265fa3017fb4608da2331b6185188e62e (patch)
tree22dd580a10cf4473dcec60c05dfc4a80f6ac253d /tmac/ps.tmac
parent6bcc4b170663ad3edf285699eb6330a81a14b0f5 (diff)
downloadgroff-e7fd4b6265fa3017fb4608da2331b6185188e62e.tar.gz
* font/devascii/R.proto, font/devcp1047/R.proto,
font/devlatin1/R.proto: Remove entry for `.i'. * font/devdvi/generate/textt.map: Add entry for `ad'. * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map, font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'. We need this for getting kerning values to compose `/l' and `/L'. * font/devdvi: Regenerated font definition files for CM fonts. * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'. * font/devutf8/R.proto: Ditto. Remove double entry for `ti'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries for (groff) ligatures, `la', and `ra'. Add "'C", "'c", `IJ', and `ij'. Remove double entry for `ti'. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all double entries. Add "'C", "'c", `IJ', and `ij'. Fix entries for (groff) ligatures, `la', and `ra'. * tmac/ps.tmac (ps-achar): New macro. Define "'c" and "'C". * tmac/tty.tmac: Add entry for `.i'. * tmac/X.tmac (X-achar): New macro. Define "'c", "'C", and `:Y'. Add entries for `IJ' and `ij'. * tmac/Xps.tmac (Xps-achar): New macro. Define "'c" and "'C". Add entries for `IJ' and `ij'. * tmac/lbp.tmac (lbp-achar): New macro. Add fallback characters for all groff ligatures and many other glyphs. * tmac/dvi.tmac: Fix definitions of `_' and `ul'. Add entries for `/l' and `/L'. Define "'c" and "'C". Add entries for `IJ' and `ij'.
Diffstat (limited to 'tmac/ps.tmac')
-rw-r--r--tmac/ps.tmac17
1 files changed, 17 insertions, 0 deletions
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index 01868ce5..67209e72 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -50,6 +50,23 @@
.fchar \[IJ] IJ
.fchar \[tm] \s-3\v'-.3m'TM\v'+.3m'\s+3
.
+.de ps-achar
+. \" Note that character definitions are always interpreted with
+. \" compatibility mode off.
+. fchar \\$1 \
+\\$3\
+\k[acc]\
+\h'(u;-\w'\\$2'-\w'\\$3'/2+\\\\n[skw]+(\w'x'*0)-\\\\n[skw])'\
+\v'(u;\w'x'*0+\\\\n[rst]+(\w'\\$3'*0)-\\\\n[rst])'\
+\\$2\
+\v'(u;\w'x'*0-\\\\n[rst]+(\w'\\$3'*0)+\\\\n[rst])'\
+\h'|\\\\n[acc]u'
+. hcode \\$1\\$4
+..
+.
+.ps-achar \['C] \' C c
+.ps-achar \['c] \' c c
+.
.\" pic tests this register to see whether it should use \X'ps:...'
.nr 0p 1
.