summaryrefslogtreecommitdiff
path: root/font/devdvi
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-02-26 01:22:14 +0000
committerwlemb <wlemb>2002-02-26 01:22:14 +0000
commit759f6af674ebfe755dd3fd0386b9927eab26ea62 (patch)
tree99697b0fc2a4364374f7eee4ef416f9f4c24b7fc /font/devdvi
parenteadcb65fd95291e397e4cea5223fa77cc4356fc0 (diff)
downloadgroff-759f6af674ebfe755dd3fd0386b9927eab26ea62.tar.gz
Add support for font families `T' and `H'.
* font/devdvi/HBI: New file. * font/devdvi/B: Renamed to ... * font/devdvi/TB: This. * font/devdvi/BI: Renamed to ... * font/devdvi/TBI: This. * font/devdvi/I: Renamed to ... * font/devdvi/TI: This. * font/devdvi/R: Renamed to ... * font/devdvi/TR: This. * font/devdvi/H: Renamed to ... * font/devdvi/HR: This. * font/devdvi/Makefile.sub (DEVFILES): Updated. * font/devdvi/generate/Makefile (FONTS): Updated. (R, I, B, BI, H): Renamed to ... (TR, TI, TB, TBI, HR): This, respectively. * NEWS, src/devices/grodvi/grodvi.man: Updated. * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI. Add `styles' and `family' keywords. * tmac/dvi.tmac: Alias `H' to `HR'. Add some fspecial requests for italic fonts. Add TR and TI as special. Add support for `_' with font CWI. * src/roff/troff/number.cc (parse_expr): Add missing `break' for operator `:'. Until now, the expression `0:1' would return 2 instead of 1.
Diffstat (limited to 'font/devdvi')
-rw-r--r--font/devdvi/DESC.in4
-rw-r--r--font/devdvi/Makefile.sub2
-rw-r--r--font/devdvi/generate/Makefile16
3 files changed, 12 insertions, 10 deletions
diff --git a/font/devdvi/DESC.in b/font/devdvi/DESC.in
index 81a9133c..a3a88e08 100644
--- a/font/devdvi/DESC.in
+++ b/font/devdvi/DESC.in
@@ -5,6 +5,8 @@ hor 1
vert 1
sizes 500 600 700 800 900 1000 1095 1200 1400 1440 1600 1728 1800
2000 2074 2200 2400 2488 2800 3600 0
-fonts 14 R I B BI 0 0 0 0 0 MI S EX CW
+styles R I B BI
+family T
+fonts 13 0 0 0 0 0 0 0 0 0 MI S EX CW
tcommand
postpro grodvi
diff --git a/font/devdvi/Makefile.sub b/font/devdvi/Makefile.sub
index 9b35fac9..2e449405 100644
--- a/font/devdvi/Makefile.sub
+++ b/font/devdvi/Makefile.sub
@@ -1,5 +1,5 @@
DEV=dvi
-DEVFILES=DESC R I B BI CW CWI MI S EX H HI HB HBI SA SB \
+DEVFILES=DESC TR TI TB TBI CW CWI MI S EX HR HI HB HBI SA SB \
generate/CompileFonts generate/Makefile generate/msam.map generate/msbm.map \
generate/texb.map generate/texex.map generate/texi.map generate/texmi.map \
generate/texr.map generate/texsy.map generate/textt.map
diff --git a/font/devdvi/generate/Makefile b/font/devdvi/generate/Makefile
index 2110ea63..7033083d 100644
--- a/font/devdvi/generate/Makefile
+++ b/font/devdvi/generate/Makefile
@@ -29,28 +29,28 @@ tfmdir=/usr/local/lib/groff-tfm
gfdir=/usr/local/lib/groff-gf
TFMTODIT=tfmtodit
-FONTS=R I B BI CW CWI MI S EX H HI HB HBI SA SB
+FONTS=TR TI TB TBI CW CWI MI S EX HR HI HB HBI SA SB
SPECIALFLAG=-s
all: $(FONTS)
-# R is special because it contains \(pl \(eq
+# TR is special because it contains \(pl \(eq
-R: $(srcdir)/texr.map
+TR: $(srcdir)/texr.map
$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmr10.300gf \
$(tfmdir)/cmr10.tfm $(srcdir)/texr.map $@
-# I is special because it contains \(Po
+# TI is special because it contains \(Po
-I: $(srcdir)/texi.map
+TI: $(srcdir)/texi.map
$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmti10.300gf \
$(tfmdir)/cmti10.tfm $(srcdir)/texi.map $@
-B: $(srcdir)/texb.map
+TB: $(srcdir)/texb.map
$(TFMTODIT) -g $(gfdir)/cmbx10.300gf \
$(tfmdir)/cmbx10.tfm $(srcdir)/texb.map $@
-BI: $(srcdir)/texi.map
+TBI: $(srcdir)/texi.map
$(TFMTODIT) -g $(gfdir)/cmbxti10.300gf \
$(tfmdir)/cmbxti10.tfm $(srcdir)/texi.map $@
@@ -76,7 +76,7 @@ EX: $(srcdir)/texex.map
$(TFMTODIT) $(SPECIALFLAG) \
$(tfmdir)/cmex10.tfm $(srcdir)/texex.map $@
-H: $(srcdir)/texb.map
+HR: $(srcdir)/texb.map
$(TFMTODIT) -g $(gfdir)/cmss10.300gf \
$(tfmdir)/cmss10.tfm $(srcdir)/texb.map $@