summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2003-02-22 09:07:24 +0000
committerWerner LEMBERG <wl@gnu.org>2003-02-22 09:07:24 +0000
commite9e3caf1d79bcbbca05f0f62397af2835a6873a1 (patch)
tree314e38e97704dbc766d84597eb3552cc7b78e3d2
parent709216589f6c16cbdf9164f365b332c2501df054 (diff)
downloadgroff-git-e9e3caf1d79bcbbca05f0f62397af2835a6873a1.tar.gz
Valgrind fixes.
* src/devices/grohtml/html-table.cc (html_table::~html_table): Deallocate `columns' list. * src/devices/grohtml/post-html.cc (char_block::~char_block): New destructor. (text_glob::text_glob_html, text_glob::text_glob_special, text_glob::text_glob_line, text_glob::text_glob_auto_image, text_glob::text_glob_tag): Avoid memory leaks. (text_glob::remember_table): Free memory before reassigning. Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the alias `hbar'), the Planck constant over two pi. * font/devdvi/generate/texmi.map: Use `*e' for position 15 and `+e' for position 34. * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with `u2662' and `u2661'. * font/devdvi/{MI,S}: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'. * font/devlbp/*: Add `hbar' alias. * font/devlj4/generate/special.map: Ditto. * font/devlj4/S: Regenerated. * font/devps/generate/symbolchars: Add `+e'. * font/devps/generate/textmap: Fix PS name for `-h'. Add `hbar' alias. * font/devps/symbolmap: Regenerated. * src/devices/grops/ps.cc (transform_fill): Removed since unused. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e', `-h', `hbar'. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e', `-h'. * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and `hbar'. * tmac/tty-char.tmac: Add `+e'.
-rw-r--r--ChangeLog45
-rw-r--r--NEWS6
-rw-r--r--font/devdvi/MI4
-rw-r--r--font/devdvi/S4
-rw-r--r--font/devdvi/generate/texmi.map3
-rw-r--r--font/devdvi/generate/texsy.map4
-rw-r--r--font/devhtml/R.proto3
-rw-r--r--font/devlbp/CB1
-rw-r--r--font/devlbp/CI1
-rw-r--r--font/devlbp/CR1
-rw-r--r--font/devlbp/EB1
-rw-r--r--font/devlbp/EI1
-rw-r--r--font/devlbp/ER1
-rw-r--r--font/devlbp/HB1
-rw-r--r--font/devlbp/HBI1
-rw-r--r--font/devlbp/HI1
-rw-r--r--font/devlbp/HNB1
-rw-r--r--font/devlbp/HNBI1
-rw-r--r--font/devlbp/HNI1
-rw-r--r--font/devlbp/HNR1
-rw-r--r--font/devlbp/HR1
-rw-r--r--font/devlbp/TB1
-rw-r--r--font/devlbp/TBI1
-rw-r--r--font/devlbp/TI1
-rw-r--r--font/devlbp/TR1
-rw-r--r--font/devlj4/S1
-rw-r--r--font/devlj4/generate/special.map1
-rw-r--r--font/devps/generate/symbolchars1
-rw-r--r--font/devps/generate/textmap3
-rw-r--r--font/devps/symbolmap4
-rw-r--r--font/devutf8/R.proto3
-rw-r--r--src/devices/grohtml/html-table.cc8
-rw-r--r--src/devices/grohtml/post-html.cc14
-rw-r--r--src/devices/grops/ps.cc5
-rw-r--r--src/roff/groff/groff.man18
-rw-r--r--src/roff/troff/glyphuni.cc3
-rw-r--r--src/roff/troff/uniglyph.cc3
-rw-r--r--tmac/X.tmac2
-rw-r--r--tmac/ps.tmac2
-rw-r--r--tmac/tty-char.tmac1
40 files changed, 132 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index b90e79006..897bb31a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,46 @@
+2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
+
+ Valgrind fixes.
+
+ * src/devices/grohtml/html-table.cc (html_table::~html_table):
+ Deallocate `columns' list.
+ * src/devices/grohtml/post-html.cc (char_block::~char_block):
+ New destructor.
+ (text_glob::text_glob_html, text_glob::text_glob_special,
+ text_glob::text_glob_line, text_glob::text_glob_auto_image,
+ text_glob::text_glob_tag): Avoid memory leaks.
+ (text_glob::remember_table): Free memory before reassigning.
+
+2003-02-19 Werner LEMBERG <wl@gnu.org>
+
+ Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
+ alias `hbar'), the Planck constant over two pi.
+
+ * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
+ `+e' for position 34.
+ * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
+ `u2662' and `u2661'.
+ * font/devdvi/{MI,S}: Regenerated.
+ * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
+ * font/devlbp/*: Add `hbar' alias.
+ * font/devlj4/generate/special.map: Ditto.
+ * font/devlj4/S: Regenerated.
+ * font/devps/generate/symbolchars: Add `+e'.
+ * font/devps/generate/textmap: Fix PS name for `-h'.
+ Add `hbar' alias.
+ * font/devps/symbolmap: Regenerated.
+
+ * src/devices/grops/ps.cc (transform_fill): Removed since unused.
+
+ * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
+ `-h', `hbar'.
+ * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
+ `-h'.
+
+ * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
+ `hbar'.
+ * tmac/tty-char.tmac: Add `+e'.
+
2003-02-17 Werner LEMBERG <wl@gnu.org>
Another round trying to really fix problems with `have_input'.
@@ -43,7 +86,7 @@
* src/include/color.h (color): New members `free_list' and `next'.
New member functions `new' and `delete'.
- Add deconstructor.
+ Add destructor.
* src/libs/libgroff/color.cc: Implement it.
* src/libs/libgroff/font.cc (font::add_kern): Use integer cast
diff --git a/NEWS b/NEWS
index ce825bd84..a21025b0f 100644
--- a/NEWS
+++ b/NEWS
@@ -81,6 +81,12 @@ o The `.pe' number register isn't new but hasn't been documented before.
o The new glyph symbol `tno' is a textual variant of `no'.
+o The new glyph symbol `+e' represents U+03F5, GREEK LUNATE EPSILON SYMBOL.
+ (Well, it is not really new since it has been previously supported by
+ grolj4.) The mapping for the dvi symbol font has been changed accordingly
+ so that Greek small letter epsilon, `*e', has the same glyph shape as with
+ other devices.
+
Grops
-----
diff --git a/font/devdvi/MI b/font/devdvi/MI
index b01890386..671c6d781 100644
--- a/font/devdvi/MI
+++ b/font/devdvi/MI
@@ -20,7 +20,7 @@ charset
*b 593102,728178,203890,55342 3 0014
*g 542880,451470,203890,58254 1 0015
*d 466034,728178,0,39685 2 0016
-*e 425621,451470 0 0017
++e 425621,451470 0 0017
*z 458754,728178,203890,77368 3 0020
*y 520651,451470,203890,37622 1 0021
*h 492248,728178,0,29128 2 0022
@@ -40,7 +40,7 @@ mc 631819,451470,203890 1 0026
*x 656086,451470,203890 1 0037
*q 683034,728178,203890,37622 3 0040
*w 652691,451470,0,37622 0 0041
---- 488970,451470 0 0042
+*e 488970,451470 0 0042
+h 620170,728178 2 0043
+p 868357,451470,0,29128 0 0044
--- 542130,451470,203890 1 0045
diff --git a/font/devdvi/S b/font/devdvi/S
index ce36fadbb..a3bb0b88b 100644
--- a/font/devdvi/S
+++ b/font/devdvi/S
@@ -144,6 +144,6 @@ dg 466035,728178,203890 3 0171
dd 466035,728178,203890 3 0172
ps 640798,728178,203890 3 0173
CL 815562,728178,135926 3 0174
-DI 815562,728178,135926 3 0175
-HE 815562,728178,135926 3 0176
+u2662 815562,728178,135926 3 0175
+u2661 815562,728178,135926 3 0176
SP 815562,728178,135926 3 0177
diff --git a/font/devdvi/generate/texmi.map b/font/devdvi/generate/texmi.map
index 41b47429d..be9700a8c 100644
--- a/font/devdvi/generate/texmi.map
+++ b/font/devdvi/generate/texmi.map
@@ -2,7 +2,7 @@
12 *b
13 *g
14 *d
-15 *e
+15 +e
16 *z
17 *y
18 *h
@@ -21,6 +21,7 @@
31 *x
32 *q
33 *w
+34 *e
35 +h
36 +p
38 ts
diff --git a/font/devdvi/generate/texsy.map b/font/devdvi/generate/texsy.map
index fadd60ff0..df671d664 100644
--- a/font/devdvi/generate/texsy.map
+++ b/font/devdvi/generate/texsy.map
@@ -96,6 +96,6 @@
122 dd
123 ps
124 CL
-125 DI
-126 HE
+125 u2662
+126 u2661
127 SP
diff --git a/font/devhtml/R.proto b/font/devhtml/R.proto
index bc6da8c18..f0e6df4f0 100644
--- a/font/devhtml/R.proto
+++ b/font/devhtml/R.proto
@@ -294,6 +294,7 @@ ts 24 0 0x03C2 &sigmaf;
+h 24 0 0x03D1 &thetasym;
+f 24 0 0x03D5 &#981;
+p 24 0 0x03D6 &piv;
++e 24 0 0x03F5 &#1013;
en 24 0 0x2013 &ndash;
em 24 0 0x2014 &mdash;
` 24 0 0x2018 &lsquo;
@@ -316,6 +317,8 @@ rn 24 0 0x203E &oline;
f/ 24 0 0x2044 &frasl;
Eu 24 0 0x20AC &euro;
eu "
+-h 24 0 0x210F &#8463;
+hbar "
Im 24 0 0x2111 &image;
wp 24 0 0x2118 &weierp;
Re 24 0 0x211C &real;
diff --git a/font/devlbp/CB b/font/devlbp/CB
index 720f65a0c..1a828a1cd 100644
--- a/font/devlbp/CB
+++ b/font/devlbp/CB
@@ -204,6 +204,7 @@ rs 2200 0 0x5c -- 0,92 # backslash
<= 2200 0 0xf3 -- 6,2 # lessequal
ca 2200 0 0xef -- 6,16 # intersection "intersection, cap"
-h 2200 0 0xc4 -- 3,8 # hbar
+hbar "
CL 2200 0 0x5 -- 5,168 # club "club suit"
SP 2200 0 0x6 -- 5,171 # spade "spade suit"
HE 2200 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/CI b/font/devlbp/CI
index 1322440ff..454bfd144 100644
--- a/font/devlbp/CI
+++ b/font/devlbp/CI
@@ -204,6 +204,7 @@ rs 2200 0 0x5c -- 0,92 # backslash
<= 2200 0 0xf3 -- 6,2 # lessequal
ca 2200 0 0xef -- 6,16 # intersection "intersection, cap"
-h 2200 0 0xc4 -- 3,8 # hbar
+hbar "
CL 2200 0 0x5 -- 5,168 # club "club suit"
SP 2200 0 0x6 -- 5,171 # spade "spade suit"
HE 2200 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/CR b/font/devlbp/CR
index 70b43a6a8..4799995b9 100644
--- a/font/devlbp/CR
+++ b/font/devlbp/CR
@@ -204,6 +204,7 @@ rs 2200 0 0x5c -- 0,92 # backslash
<= 2200 0 0xf3 -- 6,2 # lessequal
ca 2200 0 0xef -- 6,16 # intersection "intersection, cap"
-h 2200 0 0xc4 -- 3,8 # hbar
+hbar "
CL 2200 0 0x5 -- 5,168 # club "club suit"
SP 2200 0 0x6 -- 5,171 # spade "spade suit"
HE 2200 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/EB b/font/devlbp/EB
index 3c02e904a..d3f232284 100644
--- a/font/devlbp/EB
+++ b/font/devlbp/EB
@@ -204,6 +204,7 @@ rs 1900 0 0x5c -- 0,92 # backslash
<= 1900 0 0xf3 -- 6,2 # lessequal
ca 1900 0 0xef -- 6,16 # intersection "intersection, cap"
-h 1900 0 0xc4 -- 3,8 # hbar
+hbar "
CL 1900 0 0x5 -- 5,168 # club "club suit"
SP 1900 0 0x6 -- 5,171 # spade "spade suit"
HE 1900 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/EI b/font/devlbp/EI
index 95c85aff5..372e3520f 100644
--- a/font/devlbp/EI
+++ b/font/devlbp/EI
@@ -204,6 +204,7 @@ rs 1900 0 0x5c -- 0,92 # backslash
<= 1900 0 0xf3 -- 6,2 # lessequal
ca 1900 0 0xef -- 6,16 # intersection "intersection, cap"
-h 1900 0 0xc4 -- 3,8 # hbar
+hbar "
CL 1900 0 0x5 -- 5,168 # club "club suit"
SP 1900 0 0x6 -- 5,171 # spade "spade suit"
HE 1900 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/ER b/font/devlbp/ER
index 677ed5e16..f384293d5 100644
--- a/font/devlbp/ER
+++ b/font/devlbp/ER
@@ -204,6 +204,7 @@ rs 1900 0 0x5c -- 0,92 # backslash
<= 1900 0 0xf3 -- 6,2 # lessequal
ca 1900 0 0xef -- 6,16 # intersection "intersection, cap"
-h 1900 0 0xc4 -- 3,8 # hbar
+hbar "
CL 1900 0 0x5 -- 5,168 # club "club suit"
SP 1900 0 0x6 -- 5,171 # spade "spade suit"
HE 1900 0 0x3 -- 5,170 # heart "heart suit"
diff --git a/font/devlbp/HB b/font/devlbp/HB
index d40a96729..30ad0eaf2 100644
--- a/font/devlbp/HB
+++ b/font/devlbp/HB
@@ -377,6 +377,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1947 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2593 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HBI b/font/devlbp/HBI
index b2ba7cd6a..e0e83db9e 100644
--- a/font/devlbp/HBI
+++ b/font/devlbp/HBI
@@ -378,6 +378,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1947 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2593 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HI b/font/devlbp/HI
index ee05b16ff..fc63a6368 100644
--- a/font/devlbp/HI
+++ b/font/devlbp/HI
@@ -378,6 +378,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1947 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2593 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HNB b/font/devlbp/HNB
index 4d1857fe0..23475b59f 100644
--- a/font/devlbp/HNB
+++ b/font/devlbp/HNB
@@ -377,6 +377,7 @@ ca 645 0 0xef 6,16 # intersection "intersection, cap"
cu 645 0 0x3c8 6,66 # union "union, cup"
di 479 0 0x3b8 6,8 # divide "division sign"
-h 820 0 0xc4 3,8 # hbar
+hbar "
gr 820 0 0x3d1 6,33 # gradient
es 638 0 0x3c6 0,79 # emptyset
CL 617 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HNBI b/font/devlbp/HNBI
index 6cf52fb4e..119aa6e86 100644
--- a/font/devlbp/HNBI
+++ b/font/devlbp/HNBI
@@ -377,6 +377,7 @@ ca 645 0 0xef 6,16 # intersection "intersection, cap"
cu 645 0 0x3c8 6,66 # union "union, cup"
di 479 0 0x3b8 6,8 # divide "division sign"
-h 820 0 0xc4 3,8 # hbar
+hbar "
gr 820 0 0x3d1 6,33 # gradient
es 638 0 0x3c6 0,79 # emptyset
CL 617 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HNI b/font/devlbp/HNI
index 16c569d2f..78d22071e 100644
--- a/font/devlbp/HNI
+++ b/font/devlbp/HNI
@@ -377,6 +377,7 @@ ca 645 0 0xef 6,16 # intersection "intersection, cap"
cu 645 0 0x3c8 6,66 # union "union, cup"
di 479 0 0x3b8 6,8 # divide "division sign"
-h 820 0 0xc4 3,8 # hbar
+hbar "
gr 820 0 0x3d1 6,33 # gradient
es 638 0 0x3c6 0,79 # emptyset
CL 617 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HNR b/font/devlbp/HNR
index 2e82f70db..7ad6e078d 100644
--- a/font/devlbp/HNR
+++ b/font/devlbp/HNR
@@ -377,6 +377,7 @@ ca 645 0 0xef 6,16 # intersection "intersection, cap"
cu 645 0 0x3c8 6,66 # union "union, cup"
di 479 0 0x3b8 6,8 # divide "division sign"
-h 820 0 0xc4 3,8 # hbar
+hbar "
gr 820 0 0x3d1 6,33 # gradient
es 638 0 0x3c6 0,79 # emptyset
CL 617 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/HR b/font/devlbp/HR
index a28930bc4..7e2de1be0 100644
--- a/font/devlbp/HR
+++ b/font/devlbp/HR
@@ -377,6 +377,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1947 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2593 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/TB b/font/devlbp/TB
index ea6e5d174..57d6696ec 100644
--- a/font/devlbp/TB
+++ b/font/devlbp/TB
@@ -379,6 +379,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1900 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2593 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/TBI b/font/devlbp/TBI
index d0497967d..ba247b79b 100644
--- a/font/devlbp/TBI
+++ b/font/devlbp/TBI
@@ -379,6 +379,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1900 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2407 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/TI b/font/devlbp/TI
index 987099591..97fee75cb 100644
--- a/font/devlbp/TI
+++ b/font/devlbp/TI
@@ -379,6 +379,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 2250 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2407 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlbp/TR b/font/devlbp/TR
index 512453787..a66b7fd30 100644
--- a/font/devlbp/TR
+++ b/font/devlbp/TR
@@ -378,6 +378,7 @@ ca 2620 0 0xef 6,16 # intersection "intersection, cap"
cu 2620 0 0x3c8 6,66 # union "union, cup"
di 1880 0 0x3b8 6,8 # divide "division sign"
-h 3333 0 0xc4 3,8 # hbar
+hbar "
gr 3333 0 0x3d1 6,33 # gradient
es 2407 0 0x3c6 0,79 # emptyset
CL 2510 0 0x5 5,168 # club "club suit"
diff --git a/font/devlj4/S b/font/devlj4/S
index 1453442af..99df040ab 100644
--- a/font/devlj4/S
+++ b/font/devlj4/S
@@ -190,6 +190,7 @@ ra 8781,21000,4950 2 44529
<< 26346,15294,1086 0 128316
>> 26346,15294,1086 0 128318
-h 15126,18564,486 2 128328
+hbar "
wp 17076,13026,4218 0 44483
lz 26346,17844,294 2 44512
st 12198,12846,396 0 69076
diff --git a/font/devlj4/generate/special.map b/font/devlj4/generate/special.map
index 466b5a25d..d87d6e8e6 100644
--- a/font/devlj4/generate/special.map
+++ b/font/devlj4/generate/special.map
@@ -164,6 +164,7 @@
633 <<
634 >>
638 -h
+638 hbar
641 wp
654 lz
663 st
diff --git a/font/devps/generate/symbolchars b/font/devps/generate/symbolchars
index 809f3f988..e43bb2c36 100644
--- a/font/devps/generate/symbolchars
+++ b/font/devps/generate/symbolchars
@@ -39,6 +39,7 @@ beta *b
chi *x
delta *d
epsilon *e
+uni03F5 +e
eta *y
gamma *g
iota *i
diff --git a/font/devps/generate/textmap b/font/devps/generate/textmap
index 26c482f22..df3a470ca 100644
--- a/font/devps/generate/textmap
+++ b/font/devps/generate/textmap
@@ -199,7 +199,6 @@ guillemotleft Fo
guillemotright Fc
guilsinglleft fo
guilsinglright fc
-hbar -h
hungarumlaut a"
hyphen -
hyphen hy
@@ -304,6 +303,8 @@ ucircumflex ^u
udieresis :u
ugrave `u
underscore _
+uni210F -h
+uni210F hbar
uni2213 -+
uni2243 |=
uni2262 ne
diff --git a/font/devps/symbolmap b/font/devps/symbolmap
index 842fcd82a..37cef8f16 100644
--- a/font/devps/symbolmap
+++ b/font/devps/symbolmap
@@ -202,7 +202,6 @@ guillemotleft Fo
guillemotright Fc
guilsinglleft fo
guilsinglright fc
-hbar -h
hungarumlaut a"
hyphen -
hyphen hy
@@ -307,6 +306,8 @@ ucircumflex ^u
udieresis :u
ugrave `u
underscore _
+uni210F -h
+uni210F hbar
uni2213 -+
uni2243 |=
uni2262 ne
@@ -413,6 +414,7 @@ beta *b
chi *x
delta *d
epsilon *e
+uni03F5 +e
eta *y
gamma *g
iota *i
diff --git a/font/devutf8/R.proto b/font/devutf8/R.proto
index 5e3c4677d..4386b9896 100644
--- a/font/devutf8/R.proto
+++ b/font/devutf8/R.proto
@@ -290,6 +290,7 @@ ts 24 0 0x03C2
+h 24 0 0x03D1
+f 24 0 0x03D5
+p 24 0 0x03D6
++e 24 0 0x03F5
- 24 0 0x2010
hy "
en 24 0 0x2013
@@ -314,6 +315,8 @@ rn 24 0 0x203E
f/ 24 0 0x2044
eu 24 0 0x20AC
Eu "
+-h 24 0 0x210F
+hbar "
Im 24 0 0x2111
wp 24 0 0x2118
Re 24 0 0x211C
diff --git a/src/devices/grohtml/html-table.cc b/src/devices/grohtml/html-table.cc
index a2bb2555e..e7311e89f 100644
--- a/src/devices/grohtml/html-table.cc
+++ b/src/devices/grohtml/html-table.cc
@@ -235,8 +235,16 @@ html_table::html_table (simple_output *op, int linelen)
html_table::~html_table ()
{
+ cols *c;
if (tab_stops != NULL)
delete tab_stops;
+
+ c = columns;
+ while (columns != NULL) {
+ columns = columns->next;
+ free(c);
+ c = columns;
+ }
}
/*
diff --git a/src/devices/grohtml/post-html.cc b/src/devices/grohtml/post-html.cc
index e6eedebea..5929ff55b 100644
--- a/src/devices/grohtml/post-html.cc
+++ b/src/devices/grohtml/post-html.cc
@@ -261,6 +261,7 @@ struct char_block {
char_block();
char_block(int length);
+ ~char_block();
};
char_block::char_block()
@@ -276,6 +277,12 @@ char_block::char_block(int length)
fatal("out of memory error");
}
+char_block::~char_block()
+{
+ if (buffer != NULL)
+ free(buffer);
+}
+
class char_buffer {
public:
char_buffer();
@@ -448,6 +455,7 @@ void text_glob::text_glob_html (style *s, char *str, int length,
min_vertical, min_horizontal, max_vertical, max_horizontal,
FALSE, FALSE, FALSE, FALSE, 0);
*this = *g;
+ delete g;
}
/*
@@ -465,6 +473,7 @@ void text_glob::text_glob_special (style *s, char *str, int length,
min_vertical, min_horizontal, max_vertical, max_horizontal,
FALSE, FALSE, TRUE, FALSE, 0);
*this = *g;
+ delete g;
}
/*
@@ -480,6 +489,7 @@ void text_glob::text_glob_line (style *s,
min_vertical, min_horizontal, max_vertical, max_horizontal,
FALSE, FALSE, FALSE, TRUE, thickness);
*this = *g;
+ delete g;
}
/*
@@ -513,6 +523,7 @@ void text_glob::text_glob_auto_image(style *s, char *str, int length,
min_vertical, min_horizontal, max_vertical, max_horizontal,
TRUE, TRUE, FALSE, FALSE, 0);
*this = *g;
+ delete g;
}
/*
@@ -527,6 +538,7 @@ void text_glob::text_glob_tag (style *s, char *str, int length,
min_vertical, min_horizontal, max_vertical, max_horizontal,
TRUE, FALSE, FALSE, FALSE, 0);
*this = *g;
+ delete g;
}
/*
@@ -747,6 +759,8 @@ int text_glob::get_tab_args (char *align)
void text_glob::remember_table (html_table *t)
{
+ if (tab != NULL)
+ delete tab;
tab = t;
}
diff --git a/src/devices/grops/ps.cc b/src/devices/grops/ps.cc
index 78760a451..8a2c82b05 100644
--- a/src/devices/grops/ps.cc
+++ b/src/devices/grops/ps.cc
@@ -70,11 +70,6 @@ double radians(double d)
return d*PI/180.0;
}
-inline double transform_fill(int fill)
-{
- return 1 - fill/double(FILL_MAX);
-}
-
// This is used for testing whether a character should be output in the
// PostScript file using \nnn, so we really want the character to be
// less than 0200.
diff --git a/src/roff/groff/groff.man b/src/roff/groff/groff.man
index ff20b63d3..ec2d69225 100644
--- a/src/roff/groff/groff.man
+++ b/src/roff/groff/groff.man
@@ -1,9 +1,9 @@
.ig
groff.man
-Last update: 09 Dec 2002
+Last update: 18 Feb 2003
-Copyright (C) 1989, 2002 Free Software Foundation, Inc.
+Copyright (C) 1989, 2002, 2003 Free Software Foundation, Inc.
Rewritten in 2002 by Bernd Warken <bwarken@mayn.de>
Permission is granted to copy, distribute and/or modify this document
@@ -118,7 +118,7 @@ FDL in the main directory of the groff source package.
.c --------------------------------------------------------------------
.c ShortOpt ([char [punct]])
.c
-.c `-c' somwhere in the text
+.c `-c' somewhere in the text
.c second arg is punctuation
.c
.de ShortOpt
@@ -130,7 +130,7 @@ FDL in the main directory of the groff source package.
.c --------------------------------------------------------------------
.c LongOpt ([name [punct]])
.c
-.c `--name' somwhere in the text
+.c `--name' somewhere in the text
.c second arg is punctuation
.c
.de LongOpt
@@ -314,7 +314,7 @@ The
.B groff
program allows to control the whole
.I groff
-system by comand line options.
+system by command line options.
.
This is a great simplification in comparison to the classical case (which
uses pipes only).
@@ -661,7 +661,7 @@ This will print the intermediate output to standard output; see
.
.
.\" --------------------------------------------------------------------
-.SS Tranparent Options
+.SS Transparent Options
.\" --------------------------------------------------------------------
.
The following options are transparently handed over to the formatter
@@ -746,7 +746,7 @@ Due to the front-end programs available within the groff system, using
is much easier than
.IR "classical roff" .
.
-This section gives an overview of the parts that consitute the groff
+This section gives an overview of the parts that constitute the groff
system.
.
It complements
@@ -1082,7 +1082,7 @@ terminals or line-printers.
.
.P
Today, most printing or drawing hardware is handled by the operating
-system, by device drivers, or by software interfaces, usally accepting
+system, by device drivers, or by software interfaces, usually accepting
PostScript.
.
Consequently, there isn't an urgent need for more hardware device
@@ -1493,7 +1493,7 @@ This is the only grap version supported by groff.
.SH AUTHORS
.\" --------------------------------------------------------------------
.
-Copyright \(co 1989, 2002 Free Software Foundation, Inc.
+Copyright \(co 1989, 2002, 2003 Free Software Foundation, Inc.
.
.P
This document is distributed under the terms of the FDL (GNU Free
diff --git a/src/roff/troff/glyphuni.cc b/src/roff/troff/glyphuni.cc
index af1768c1a..6216eab3b 100644
--- a/src/roff/troff/glyphuni.cc
+++ b/src/roff/troff/glyphuni.cc
@@ -330,6 +330,7 @@ struct {
{ "+h", "03D1" },
{ "+f", "03D5" },
{ "+p", "03D6" },
+ { "+e", "03F5" },
{ "-", "2010" },
{ "hy", "2010" },
{ "en", "2013" },
@@ -354,6 +355,8 @@ struct {
{ "f/", "2044" },
{ "eu", "20AC" },
{ "Eu", "20AC" },
+ { "-h", "210F" },
+ { "hbar", "210F" },
{ "Im", "2111" },
{ "wp", "2118" },
{ "Re", "211C" },
diff --git a/src/roff/troff/uniglyph.cc b/src/roff/troff/uniglyph.cc
index bb378e831..d9c12acde 100644
--- a/src/roff/troff/uniglyph.cc
+++ b/src/roff/troff/uniglyph.cc
@@ -331,6 +331,7 @@ struct {
{ "03D1", "+h" },
{ "03D5", "+f" },
{ "03D6", "+p" },
+ { "03F5", "+e" },
//{ "2010", "-" },
{ "2010", "hy" },
{ "2013", "en" },
@@ -355,6 +356,8 @@ struct {
{ "2044", "f/" },
{ "20AC", "Eu" },
//{ "20AC", "eu" },
+ { "210F", "-h" },
+//{ "210F", "hbar" },
{ "2111", "Im" },
{ "2118", "wp" },
{ "211C", "Re" },
diff --git a/tmac/X.tmac b/tmac/X.tmac
index c698893b6..0927dd5e9 100644
--- a/tmac/X.tmac
+++ b/tmac/X.tmac
@@ -55,6 +55,8 @@
.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'\[==]
+.fchar \[-h] \F[T]\f[I]\v'-.58m'\Z'\h'.1m'\D'l .3m 0''\v'.58m'h
+.fchar \[hbar] \[-h]
.
.de X-achar
. \" Note that character definitions are always interpreted with
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index 4f367d5d8..bedfa422b 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -61,6 +61,8 @@
.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'\[==]
+.fchar \[-h] \F[T]\f[I]\v'-.53m'\Z'\h'.05m'\D'l .3m 0''\v'.53m'h
+.fchar \[hbar] \[-h]
.
.de ps-achar
. \" Note that character definitions are always interpreted with
diff --git a/tmac/tty-char.tmac b/tmac/tty-char.tmac
index 5740075f7..aeeda50e7 100644
--- a/tmac/tty-char.tmac
+++ b/tmac/tty-char.tmac
@@ -67,6 +67,7 @@
.tty-char \[*c] \z,E
.tty-char \[*d] d
.tty-char \[*e] e
+.tty-char \[+e] e
.tty-char \[*f] \z|o
.tty-char \[+f] \z|o
.tty-char \[*g] y