From: schwarze Date: Tue, 21 Aug 2018 16:01:38 +0000 (+0000) Subject: Improve the ASCII rendering of \(Po (Pound Sterling) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f09271baa2175edc761b718c5e39c33a7b69e2e1;p=openbsd Improve the ASCII rendering of \(Po (Pound Sterling) and of the playing card suits to match groff, using feedback from Ralph Corderoy . --- diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.in b/regress/usr.bin/mandoc/char/unicode/latin1.in index 9128524be53..8ef8288837b 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.in +++ b/regress/usr.bin/mandoc/char/unicode/latin1.in @@ -1,11 +1,13 @@ -.\" $OpenBSD: latin1.in,v 1.5 2017/08/23 10:59:53 schwarze Exp $ -.TH CHAR-UNICODE-LATIN1 1 "October 27, 2014" +.\" $OpenBSD: latin1.in,v 1.6 2018/08/21 16:01:38 schwarze Exp $ +.TH CHAR-UNICODE-LATIN1 1 "August 21, 2018" .SH NAME char-unicode-latin1 \- Unicode characters in the ISO-8859-1 range .SH DESCRIPTION .nf BEGINTEST +\[u00A1]\(r! INVERTED EXCLAMATION MARK \[u00A2]\(ct CENT SIGN +\[u00A3]\(Po POUND SIGN \[u00A4]\(Cs CURRENCY SIGN \[u00A5]\(Ye YEN SIGN \[u00A6]\(bb BROKEN BAR @@ -32,6 +34,7 @@ BEGINTEST \[u00BC]\(14 VULGAR FRACTION ONE QUARTER \[u00BD]\(12 VULGAR FRACTION ONE HALF \[u00BE]\(34 VULGAR FRACTION THREE QUARTERS +\[u00BF]\(r? INVERTED QUESTION MARK \[u00C0]\(`A LATIN CAPITAL LETTER A WITH GRAVE \[u00C1]\('A LATIN CAPITAL LETTER A WITH ACUTE \[u00C2]\(^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX @@ -61,7 +64,9 @@ BEGINTEST \[u00DA]\('U LATIN CAPITAL LETTER U WITH ACUTE \[u00DB]\(^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX \[u00DC]\(:U LATIN CAPITAL LETTER U WITH DIAERESIS -\[u00DD] LATIN CAPITAL LETTER Y WITH ACUTE +\[u00DD]\('Y LATIN CAPITAL LETTER Y WITH ACUTE +\[u00DE]\(TP LATIN CAPITAL LETTER THORN +\[u00DF]\(ss LATIN SMALL LETTER SHARP S \[u00E0]\(`a LATIN SMALL LETTER A WITH GRAVE \[u00E1]\('a LATIN SMALL LETTER A WITH ACUTE \[u00E2]\(^a LATIN SMALL LETTER A WITH CIRCUMFLEX @@ -91,7 +96,8 @@ BEGINTEST \[u00FA]\('u LATIN SMALL LETTER U WITH ACUTE \[u00FB]\(^u LATIN SMALL LETTER U WITH CIRCUMFLEX \[u00FC]\(:u LATIN SMALL LETTER U WITH DIAERESIS -\[u00FD] LATIN SMALL LETTER Y WITH ACUTE +\[u00FD]\('y LATIN SMALL LETTER Y WITH ACUTE +\[u00FE]\(Tp LATIN SMALL LETTER THORN \[u00FF]\(:y LATIN SMALL LETTER Y WITH DIAERESIS ENDTEST .fi diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii index 7b2e5198bd9..a279c5df9a3 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii @@ -7,7 +7,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST + !! INVERTED EXCLAMATION MARK /c/c CENT SIGN + -L-L POUND SIGN oxox CURRENCY SIGN =Y=Y YEN SIGN || BROKEN BAR @@ -34,6 +36,7 @@ DDEESSCCRRIIPPTTIIOONN 1/41/4 VULGAR FRACTION ONE QUARTER 1/21/2 VULGAR FRACTION ONE HALF 3/43/4 VULGAR FRACTION THREE QUARTERS + ?? INVERTED QUESTION MARK `A`A LATIN CAPITAL LETTER A WITH GRAVE 'A'A LATIN CAPITAL LETTER A WITH ACUTE ^A^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX @@ -63,7 +66,9 @@ DDEESSCCRRIIPPTTIIOONN 'U'U LATIN CAPITAL LETTER U WITH ACUTE ^U^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX "U"U LATIN CAPITAL LETTER U WITH DIAERESIS - 'Y LATIN CAPITAL LETTER Y WITH ACUTE + 'Y'Y LATIN CAPITAL LETTER Y WITH ACUTE + ThTh LATIN CAPITAL LETTER THORN + ssss LATIN SMALL LETTER SHARP S `a`a LATIN SMALL LETTER A WITH GRAVE 'a'a LATIN SMALL LETTER A WITH ACUTE ^a^a LATIN SMALL LETTER A WITH CIRCUMFLEX @@ -93,10 +98,11 @@ DDEESSCCRRIIPPTTIIOONN 'u'u LATIN SMALL LETTER U WITH ACUTE ^u^u LATIN SMALL LETTER U WITH CIRCUMFLEX "u"u LATIN SMALL LETTER U WITH DIAERESIS - 'y LATIN SMALL LETTER Y WITH ACUTE + 'y'y LATIN SMALL LETTER Y WITH ACUTE + thth LATIN SMALL LETTER THORN "y"y LATIN SMALL LETTER Y WITH DIAERESIS ENDTEST -OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1) +OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1(1) diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_html b/regress/usr.bin/mandoc/char/unicode/latin1.out_html index abd8a3a51b3..db54b987b68 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_html +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_html @@ -1,5 +1,7 @@ BEGINTEST +¡¡ INVERTED EXCLAMATION MARK ¢¢ CENT SIGN +££ POUND SIGN ¤¤ CURRENCY SIGN ¥¥ YEN SIGN ¦¦ BROKEN BAR @@ -26,6 +28,7 @@ BEGINTEST ¼¼ VULGAR FRACTION ONE QUARTER ½½ VULGAR FRACTION ONE HALF ¾¾ VULGAR FRACTION THREE QUARTERS +¿¿ INVERTED QUESTION MARK ÀÀ LATIN CAPITAL LETTER A WITH GRAVE ÁÁ LATIN CAPITAL LETTER A WITH ACUTE  LATIN CAPITAL LETTER A WITH CIRCUMFLEX @@ -55,7 +58,9 @@ BEGINTEST ÚÚ LATIN CAPITAL LETTER U WITH ACUTE ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS -Ý LATIN CAPITAL LETTER Y WITH ACUTE +ÝÝ LATIN CAPITAL LETTER Y WITH ACUTE +ÞÞ LATIN CAPITAL LETTER THORN +ßß LATIN SMALL LETTER SHARP S àà LATIN SMALL LETTER A WITH GRAVE áá LATIN SMALL LETTER A WITH ACUTE ââ LATIN SMALL LETTER A WITH CIRCUMFLEX @@ -85,6 +90,7 @@ BEGINTEST úú LATIN SMALL LETTER U WITH ACUTE ûû LATIN SMALL LETTER U WITH CIRCUMFLEX üü LATIN SMALL LETTER U WITH DIAERESIS -ý LATIN SMALL LETTER Y WITH ACUTE +ýý LATIN SMALL LETTER Y WITH ACUTE +þþ LATIN SMALL LETTER THORN ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8 b/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8 index 36078a1bcba..e1caa4f838a 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8 @@ -7,7 +7,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST + ¡¡ INVERTED EXCLAMATION MARK ¢¢ CENT SIGN + ££ POUND SIGN ¤¤ CURRENCY SIGN ¥¥ YEN SIGN ¦¦ BROKEN BAR @@ -34,6 +36,7 @@ DDEESSCCRRIIPPTTIIOONN ¼¼ VULGAR FRACTION ONE QUARTER ½½ VULGAR FRACTION ONE HALF ¾¾ VULGAR FRACTION THREE QUARTERS + ¿¿ INVERTED QUESTION MARK ÀÀ LATIN CAPITAL LETTER A WITH GRAVE ÁÁ LATIN CAPITAL LETTER A WITH ACUTE  LATIN CAPITAL LETTER A WITH CIRCUMFLEX @@ -63,7 +66,9 @@ DDEESSCCRRIIPPTTIIOONN ÚÚ LATIN CAPITAL LETTER U WITH ACUTE ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS - Ý LATIN CAPITAL LETTER Y WITH ACUTE + ÝÝ LATIN CAPITAL LETTER Y WITH ACUTE + ÞÞ LATIN CAPITAL LETTER THORN + ßß LATIN SMALL LETTER SHARP S àà LATIN SMALL LETTER A WITH GRAVE áá LATIN SMALL LETTER A WITH ACUTE ââ LATIN SMALL LETTER A WITH CIRCUMFLEX @@ -93,10 +98,11 @@ DDEESSCCRRIIPPTTIIOONN úú LATIN SMALL LETTER U WITH ACUTE ûû LATIN SMALL LETTER U WITH CIRCUMFLEX üü LATIN SMALL LETTER U WITH DIAERESIS - ý LATIN SMALL LETTER Y WITH ACUTE + ýý LATIN SMALL LETTER Y WITH ACUTE + þþ LATIN SMALL LETTER THORN ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS ENDTEST -OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1) +OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1(1) diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.in b/regress/usr.bin/mandoc/char/unicode/latin1diff.in index 8ae7dbd3abe..f4ef19ff31e 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1diff.in +++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.in @@ -1,16 +1,10 @@ -.\" $OpenBSD: latin1diff.in,v 1.3 2017/08/23 10:59:53 schwarze Exp $ -.TH CHAR-UNICODE-LATIN1DIFF 1 "October 27, 2014" +.\" $OpenBSD: latin1diff.in,v 1.4 2018/08/21 16:01:38 schwarze Exp $ +.TH CHAR-UNICODE-LATIN1DIFF 1 "August 21, 2018" .SH NAME char-unicode-latin1diff \- Unicode characters in the ISO-8859-1 range .SH DESCRIPTION .nf BEGINTEST -\[u00A1]\(r! INVERTED EXCLAMATION MARK -\[u00A3]\(Po POUND SIGN \[u00AF]\(a- MACRON -\[u00BF]\(r? INVERTED QUESTION MARK -\[u00DE]\(TP LATIN CAPITAL LETTER THORN -\[u00DF]\(ss LATIN SMALL LETTER SHARP S -\[u00FE]\(Tp LATIN SMALL LETTER THORN ENDTEST .fi diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii index 40fe33efa63..07777620647 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii +++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii @@ -7,15 +7,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST - !! INVERTED EXCLAMATION MARK - GBPGBP POUND SIGN -- MACRON - ?? INVERTED QUESTION MARK - ThTh LATIN CAPITAL LETTER THORN - ssss LATIN SMALL LETTER SHARP S - thth LATIN SMALL LETTER THORN ENDTEST -OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1) +OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1DIFF(1) diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html index 38bbade9050..5f3b3b1782f 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html +++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html @@ -1,9 +1,3 @@ BEGINTEST -¡¡ INVERTED EXCLAMATION MARK -££ POUND SIGN ¯¯ MACRON -¿¿ INVERTED QUESTION MARK -ÞÞ LATIN CAPITAL LETTER THORN -ßß LATIN SMALL LETTER SHARP S -þþ LATIN SMALL LETTER THORN ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8 b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8 index 6a679b297b8..be0053ada43 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8 @@ -7,15 +7,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST - ¡¡ INVERTED EXCLAMATION MARK - ££ POUND SIGN ¯¯ MACRON - ¿¿ INVERTED QUESTION MARK - ÞÞ LATIN CAPITAL LETTER THORN - ßß LATIN SMALL LETTER SHARP S - þþ LATIN SMALL LETTER THORN ENDTEST -OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1) +OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1DIFF(1) diff --git a/regress/usr.bin/mandoc/char/unicode/named.in b/regress/usr.bin/mandoc/char/unicode/named.in index 21e4436283c..e8c05152312 100644 --- a/regress/usr.bin/mandoc/char/unicode/named.in +++ b/regress/usr.bin/mandoc/char/unicode/named.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: named.in,v 1.9 2018/08/21 01:56:26 schwarze Exp $ +.\" $OpenBSD: named.in,v 1.10 2018/08/21 16:01:38 schwarze Exp $ .TH CHAR-UNICODE-NAMED 1 "August 21, 2018" .SH NAME char-unicode-named \- Unicode characters having named escapes @@ -13,8 +13,10 @@ BEGINTEST \[u0152]\(OE LATIN CAPITAL LIGATURE OE \[u0153]\(oe LATIN SMALL LIGATURE OE \[u0192]\(Fn LATIN SMALL LETTER F WITH HOOK +\[u0237]\(.j LATIN SMALL LETTER DOTLESS J \[u02C7]\(ah CARON \[u02D8]\(ab BREVE +\[u02D9]\(a. DOT ABOVE \[u02DA]\(ao RING ABOVE \[u02DB]\(ho OGONEK \[u02DD]\(a" DOUBLE ACUTE ACCENT @@ -118,6 +120,9 @@ BEGINTEST \[u2208]\(mo ELEMENT OF \[u2209]\(nm NOT AN ELEMENT OF \[u220B]\(st CONTAINS AS MEMBER +\[u220F]\[product] N-ARY PRODUCT +\[u2210]\[coproduct] N-ARY COPRODUCT +\[u2211]\[sum] N-ARY SUMMATION \[u2212]\(mi MINUS SIGN \[u2213]\(-+ MINUS-OR-PLUS SIGN \[u2217]\(** ASTERISK OPERATOR @@ -142,6 +147,8 @@ BEGINTEST \[u2265]\(>= GREATER-THAN OR EQUAL TO \[u2282]\(sb SUBSET OF \[u2283]\(sp SUPERSET OF +\[u2284]\(nb NOT A SUBSET OF +\[u2285]\(nc NOT A SUPERSET OF \[u2286]\(ib SUBSET OF OR EQUAL TO \[u2287]\(ip SUPERSET OF OR EQUAL TO \[u2295]\(c+ CIRCLED PLUS @@ -160,6 +167,10 @@ BEGINTEST \[u25CB]\(ci WHITE CIRCLE \[u261C]\(lh WHITE LEFT POINTING INDEX \[u261E]\(rh WHITE RIGHT POINTING INDEX +\[u2660]\(SP BLACK SPADE SUIT +\[u2663]\(CL BLACK CLUB SUIT +\[u2665]\(HE BLACK HEART SUIT +\[u2666]\(DI BLACK DIAMOND SUIT \[u27E8]\(la MATHEMATICAL LEFT ANGLE BRACKET \[u27E9]\(ra MATHEMATICAL RIGHT ANGLE BRACKET ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_ascii b/regress/usr.bin/mandoc/char/unicode/named.out_ascii index 530bf7f1235..ce09d83f28c 100644 --- a/regress/usr.bin/mandoc/char/unicode/named.out_ascii +++ b/regress/usr.bin/mandoc/char/unicode/named.out_ascii @@ -15,8 +15,10 @@ DDEESSCCRRIIPPTTIIOONN OEOE LATIN CAPITAL LIGATURE OE oeoe LATIN SMALL LIGATURE OE ,f,f LATIN SMALL LETTER F WITH HOOK + jj LATIN SMALL LETTER DOTLESS J vv CARON '`'` BREVE + .. DOT ABOVE oo RING ABOVE ,, OGONEK "" DOUBLE ACUTE ACCENT @@ -120,6 +122,9 @@ DDEESSCCRRIIPPTTIIOONN ELEMENT OF NOT AN ELEMENT OF CONTAINS AS MEMBER + N-ARY PRODUCT + N-ARY COPRODUCT + N-ARY SUMMATION -- MINUS SIGN -+-+ MINUS-OR-PLUS SIGN ** ASTERISK OPERATOR @@ -144,6 +149,8 @@ DDEESSCCRRIIPPTTIIOONN >=>= GREATER-THAN OR EQUAL TO SUBSET OF SUPERSET OF + NOT A SUBSET OF + NOT A SUPERSET OF SUBSET OF OR EQUAL TO SUPERSET OF OR EQUAL TO O+O+ CIRCLED PLUS @@ -162,6 +169,10 @@ DDEESSCCRRIIPPTTIIOONN OO WHITE CIRCLE <=<= WHITE LEFT POINTING INDEX =>=> WHITE RIGHT POINTING INDEX + SS BLACK SPADE SUIT + CC BLACK CLUB SUIT + HH BLACK HEART SUIT + DD BLACK DIAMOND SUIT << MATHEMATICAL LEFT ANGLE BRACKET >> MATHEMATICAL RIGHT ANGLE BRACKET ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_html b/regress/usr.bin/mandoc/char/unicode/named.out_html index 66a3ed0a6f3..5d77d840152 100644 --- a/regress/usr.bin/mandoc/char/unicode/named.out_html +++ b/regress/usr.bin/mandoc/char/unicode/named.out_html @@ -7,8 +7,10 @@ BEGINTEST ŒŒ LATIN CAPITAL LIGATURE OE œœ LATIN SMALL LIGATURE OE ƒƒ LATIN SMALL LETTER F WITH HOOK +ȷȷ LATIN SMALL LETTER DOTLESS J ˇˇ CARON ˘˘ BREVE +˙˙ DOT ABOVE ˚˚ RING ABOVE ˛˛ OGONEK ˝˝ DOUBLE ACUTE ACCENT @@ -112,6 +114,9 @@ BEGINTEST ∈∈ ELEMENT OF ∉∉ NOT AN ELEMENT OF ∋∋ CONTAINS AS MEMBER +∏∏ N-ARY PRODUCT +∐∐ N-ARY COPRODUCT +∑∑ N-ARY SUMMATION −− MINUS SIGN ∓∓ MINUS-OR-PLUS SIGN ∗∗ ASTERISK OPERATOR @@ -136,6 +141,8 @@ BEGINTEST ≥≥ GREATER-THAN OR EQUAL TO ⊂⊂ SUBSET OF ⊃⊃ SUPERSET OF +⊄⊄ NOT A SUBSET OF +⊅⊅ NOT A SUPERSET OF ⊆⊆ SUBSET OF OR EQUAL TO ⊇⊇ SUPERSET OF OR EQUAL TO ⊕⊕ CIRCLED PLUS @@ -154,6 +161,10 @@ BEGINTEST ○○ WHITE CIRCLE ☜☜ WHITE LEFT POINTING INDEX ☞☞ WHITE RIGHT POINTING INDEX +♠♠ BLACK SPADE SUIT +♣♣ BLACK CLUB SUIT +♥♥ BLACK HEART SUIT +♦♦ BLACK DIAMOND SUIT ⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET ⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_utf8 b/regress/usr.bin/mandoc/char/unicode/named.out_utf8 index 0e5b6853e77..b5d84f3508e 100644 --- a/regress/usr.bin/mandoc/char/unicode/named.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/named.out_utf8 @@ -15,8 +15,10 @@ DDEESSCCRRIIPPTTIIOONN ŒŒ LATIN CAPITAL LIGATURE OE œœ LATIN SMALL LIGATURE OE ƒƒ LATIN SMALL LETTER F WITH HOOK + È·È· LATIN SMALL LETTER DOTLESS J ˇˇ CARON ˘˘ BREVE + ˙˙ DOT ABOVE ˚˚ RING ABOVE ˛˛ OGONEK ˝˝ DOUBLE ACUTE ACCENT @@ -120,6 +122,9 @@ DDEESSCCRRIIPPTTIIOONN ∈∈ ELEMENT OF ∉∉ NOT AN ELEMENT OF ∋∋ CONTAINS AS MEMBER + ∏∏ N-ARY PRODUCT + ∐∐ N-ARY COPRODUCT + ∑∑ N-ARY SUMMATION −− MINUS SIGN ∓∓ MINUS-OR-PLUS SIGN ∗∗ ASTERISK OPERATOR @@ -144,6 +149,8 @@ DDEESSCCRRIIPPTTIIOONN ≥≥ GREATER-THAN OR EQUAL TO ⊂⊂ SUBSET OF ⊃⊃ SUPERSET OF + ⊄⊄ NOT A SUBSET OF + ⊅⊅ NOT A SUPERSET OF ⊆⊆ SUBSET OF OR EQUAL TO ⊇⊇ SUPERSET OF OR EQUAL TO ⊕⊕ CIRCLED PLUS @@ -162,6 +169,10 @@ DDEESSCCRRIIPPTTIIOONN ○○ WHITE CIRCLE ☜☜ WHITE LEFT POINTING INDEX ☞☞ WHITE RIGHT POINTING INDEX + ♠♠ BLACK SPADE SUIT + ♣♣ BLACK CLUB SUIT + ♥♥ BLACK HEART SUIT + ♦♦ BLACK DIAMOND SUIT ⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET ⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.in b/regress/usr.bin/mandoc/char/unicode/namediff.in index 8f97bb149c1..016d79f343b 100644 --- a/regress/usr.bin/mandoc/char/unicode/namediff.in +++ b/regress/usr.bin/mandoc/char/unicode/namediff.in @@ -1,21 +1,14 @@ -.\" $OpenBSD: namediff.in,v 1.8 2018/08/21 01:56:26 schwarze Exp $ +.\" $OpenBSD: namediff.in,v 1.9 2018/08/21 16:01:38 schwarze Exp $ .TH CHAR-UNICODE-NAMEDIFF 1 "August 21, 2018" .SH NAME char-unicode-namediff \- Unicode characters having named escapes .SH DESCRIPTION .nf BEGINTEST -\[u0237]\(.j LATIN SMALL LETTER DOTLESS J -\[u02D9]\(a. DOT ABOVE \[u203E]\(rn OVERLINE \[u210F]\[hbar]\(-h PLANCK CONSTANT OVER TWO PI \[u2195]\(va UP DOWN ARROW \[u21D5]\(vA UP DOWN DOUBLE ARROW -\[u220F]\[product] N-ARY PRODUCT -\[u2210]\[coproduct] N-ARY COPRODUCT -\[u2211]\[sum] N-ARY SUMMATION -\[u2284]\(nb NOT A SUBSET OF -\[u2285]\(nc NOT A SUPERSET OF \[u239B]\[parenlefttp] LEFT PARENTHESIS UPPER HOOK \[u239C]\[parenleftex] LEFT PARENTHESIS EXTENSION \[u239D]\[parenleftbt] LEFT PARENTHESIS LOWER HOOK @@ -35,10 +28,5 @@ BEGINTEST \[u23AB]\[bracerighttp] RIGHT CURLY BRACKET UPPER HOOK \[u23AC]\[bracerightmid] RIGHT CURLY BRACKET MIDDLE PIECE \[u23AD]\[bracerightbt] RIGHT CURLY BRACKET LOWER HOOK -\[u2660]\(SP BLACK SPADE SUIT -\[u2663]\(CL BLACK CLUB SUIT -\[u2665]\(HE BLACK HEART SUIT -\[u2666]\(DI BLACK DIAMOND SUIT -\[u2713]\(OK CHECK MARK ENDTEST .fi diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii b/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii index 7a0f3f1fe04..b275d95c80b 100644 --- a/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii +++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii @@ -7,17 +7,10 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST - jj LATIN SMALL LETTER DOTLESS J - .. DOT ABOVE -- OVERLINE /h/h/h PLANCK CONSTANT OVER TWO PI ^v^v UP DOWN ARROW ^=v^=v UP DOWN DOUBLE ARROW - N-ARY PRODUCT - N-ARY COPRODUCT - N-ARY SUMMATION - NOT A SUBSET OF - NOT A SUPERSET OF // LEFT PARENTHESIS UPPER HOOK || LEFT PARENTHESIS EXTENSION \\ LEFT PARENTHESIS LOWER HOOK @@ -37,11 +30,6 @@ DDEESSCCRRIIPPTTIIOONN -.-. RIGHT CURLY BRACKET UPPER HOOK }} RIGHT CURLY BRACKET MIDDLE PIECE -'-' RIGHT CURLY BRACKET LOWER HOOK - BLACK SPADE SUIT - BLACK CLUB SUIT - BLACK HEART SUIT - BLACK DIAMOND SUIT - \/\/ CHECK MARK ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_html b/regress/usr.bin/mandoc/char/unicode/namediff.out_html index 9803aff050f..4afee5ce711 100644 --- a/regress/usr.bin/mandoc/char/unicode/namediff.out_html +++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_html @@ -1,15 +1,8 @@ BEGINTEST -ȷȷ LATIN SMALL LETTER DOTLESS J -˙˙ DOT ABOVE ‾‾ OVERLINE ℏℏℏ PLANCK CONSTANT OVER TWO PI ↕↕ UP DOWN ARROW ⇕⇕ UP DOWN DOUBLE ARROW -∏∏ N-ARY PRODUCT -∐∐ N-ARY COPRODUCT -∑∑ N-ARY SUMMATION -⊄⊄ NOT A SUBSET OF -⊅⊅ NOT A SUPERSET OF ⎛⎛ LEFT PARENTHESIS UPPER HOOK ⎜⎜ LEFT PARENTHESIS EXTENSION ⎝⎝ LEFT PARENTHESIS LOWER HOOK @@ -29,9 +22,4 @@ BEGINTEST ⎫⎫ RIGHT CURLY BRACKET UPPER HOOK ⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE ⎭⎭ RIGHT CURLY BRACKET LOWER HOOK -♠♠ BLACK SPADE SUIT -♣♣ BLACK CLUB SUIT -♥♥ BLACK HEART SUIT -♦♦ BLACK DIAMOND SUIT -✓✓ CHECK MARK ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8 b/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8 index 78de090014b..2965ee1b6a0 100644 --- a/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8 @@ -7,17 +7,10 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST - È·È· LATIN SMALL LETTER DOTLESS J - ˙˙ DOT ABOVE ‾‾ OVERLINE ℏℏℏ PLANCK CONSTANT OVER TWO PI ↕↕ UP DOWN ARROW ⇕⇕ UP DOWN DOUBLE ARROW - ∏∏ N-ARY PRODUCT - ∐∐ N-ARY COPRODUCT - ∑∑ N-ARY SUMMATION - ⊄⊄ NOT A SUBSET OF - ⊅⊅ NOT A SUPERSET OF ⎛⎛ LEFT PARENTHESIS UPPER HOOK ⎜⎜ LEFT PARENTHESIS EXTENSION ⎝⎝ LEFT PARENTHESIS LOWER HOOK @@ -37,11 +30,6 @@ DDEESSCCRRIIPPTTIIOONN ⎫⎫ RIGHT CURLY BRACKET UPPER HOOK ⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE ⎭⎭ RIGHT CURLY BRACKET LOWER HOOK - ♠♠ BLACK SPADE SUIT - ♣♣ BLACK CLUB SUIT - ♥♥ BLACK HEART SUIT - ♦♦ BLACK DIAMOND SUIT - ✓✓ CHECK MARK ENDTEST diff --git a/usr.bin/mandoc/chars.c b/usr.bin/mandoc/chars.c index f79dad8c5fc..f78bab01be4 100644 --- a/usr.bin/mandoc/chars.c +++ b/usr.bin/mandoc/chars.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chars.c,v 1.45 2018/08/21 01:56:26 schwarze Exp $ */ +/* $OpenBSD: chars.c,v 1.46 2018/08/21 16:01:38 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze @@ -81,10 +81,10 @@ static struct ln lines[] = { { "sh", "#", 0x0023 }, { "CR", "", 0x21b5 }, { "OK", "\\/", 0x2713 }, - { "CL", "", 0x2663 }, - { "SP", "", 0x2660 }, - { "HE", "", 0x2665 }, - { "DI", "", 0x2666 }, + { "CL", "C", 0x2663 }, + { "SP", "S", 0x2660 }, + { "HE", "H", 0x2665 }, + { "DI", "D", 0x2666 }, /* Legal symbols. */ { "co", "(C)", 0x00a9 }, @@ -361,7 +361,7 @@ static struct ln lines[] = { { "Eu", "EUR", 0x20ac }, { "eu", "EUR", 0x20ac }, { "Ye", "=\bY", 0x00a5 }, - { "Po", "GBP", 0x00a3 }, + { "Po", "-\bL", 0x00a3 }, { "Cs", "o\bx", 0x00a4 }, { "Fn", ",\bf", 0x0192 }, diff --git a/usr.bin/mandoc/term_ascii.c b/usr.bin/mandoc/term_ascii.c index 481e0e5da3f..2f1f26dac89 100644 --- a/usr.bin/mandoc/term_ascii.c +++ b/usr.bin/mandoc/term_ascii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: term_ascii.c,v 1.47 2018/08/18 15:16:05 schwarze Exp $ */ +/* $OpenBSD: term_ascii.c,v 1.48 2018/08/21 16:01:38 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze @@ -298,7 +298,7 @@ ascii_uc2str(int uc) "<88>", "<89>", "<8A>", "<8B>", "<8C>", "<8D>", "<8E>", "<8F>", "<90>", "<91>", "<92>", "<93>", "<94>", "<95>", "<96>", "<97>", "<98>", "<99>", "<9A>", "<9B>", "<9C>", "<9D>", "<9E>", "<9F>", - nbrsp, "!", "/\bc", "GBP", "o\bx", "=\bY", "|", "
", + nbrsp, "!", "/\bc", "-\bL", "o\bx", "=\bY", "|", "
", "\"", "(C)", "_\ba", "<<", "~", "", "(R)", "-", "","+-","^2", "^3", "'","","",".", ",", "^1", "_\bo", ">>", "1/4", "1/2", "3/4", "?",