[ttssh2-commit] [10890] r10889 で追加したDEC Special Graphicへの変換の一部を無効にした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 9月 7日 (木) 00:27:38 JST


Revision: 10890
          https://osdn.net/projects/ttssh2/scm/svn/commits/10890
Author:   zmatsuo
Date:     2023-09-07 00:27:37 +0900 (Thu, 07 Sep 2023)
Log Message:
-----------
r10889 で追加したDEC Special Graphicへの変換の一部を無効にした

- r10889より前から、Scan Line,罫線に4char追加した状態になった
- テストで Scan Line も表示するようにした
  - tests/various_code_texts/dec_special_unicode.pl
  - DEC Special Graphic のかわりに Unicodeだけで表示するテスト

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/10889

Modified Paths:
--------------
    trunk/teraterm/teraterm/unisym2decsp.map
    trunk/tests/various_code_texts/dec_special_unicode.pl

-------------- next part --------------
Modified: trunk/teraterm/teraterm/unisym2decsp.map
===================================================================
--- trunk/teraterm/teraterm/unisym2decsp.map	2023-09-05 15:35:48 UTC (rev 10889)
+++ trunk/teraterm/teraterm/unisym2decsp.map	2023-09-06 15:27:37 UTC (rev 10890)
@@ -31,8 +31,10 @@
  * Map of Unicode Symbols to Dec Special Characters
  */
 static const codemap_t mapUnicodeSymbolToDecSp[] = {
+#if 0
 	{ 0x00b0, 0x0266 },	// DEGREE SIGN
 	{ 0x00b1, 0x0267 },	// PLUS-MINUS SIGN
+#endif
 
 	/*
 	 * Latin-1 supplement
@@ -39,9 +41,10 @@
 	 *   http://www.unicode.org/charts/PDF/U0080.pdf
 	 */
 	{ 0x00B7, 0x047E },	// Middle dot
+#if 0
+	{ 0x03c0, 0x047b },	// GREEK SMALL LETTER PI
+#endif
 
-	{ 0x03c0, 0x047b },
-
 	/*
 	 * General punctuation
 	 *   http://www.unicode.org/charts/PDF/U2000.pdf
@@ -55,9 +58,11 @@
 	 *   http://www.unicode.org/charts/PDF/U2200.pdf
 	 */
 	{ 0x2219, 0x047E },	// Bullet operator
+#if 0
 	{ 0x2260, 0x047c },	// NOT EQUAL TO
 	{ 0x2264, 0x0479 },	// LESS-THAN OR EQUAL TO
 	{ 0x2265, 0x047a },	// GREATER-THAN OR EQUAL TO
+#endif
 
 	/*
 	 * Horizontal Scan line
@@ -64,6 +69,7 @@
 	 */
 	{ 0x23BA, 0x016f },	// HORIZONTAL SCAN LINE-1
 	{ 0x23BB, 0x0170 },	// HORIZONTAL SCAN LINE-3
+						//  SCAN LINE-5 is unified with the box-drawing graphic character U+2500
 	{ 0x23BC, 0x0172 },	// HORIZONTAL SCAN LINE-7
 	{ 0x23BD, 0x0173 },	// HORIZONTAL SCAN LINE-9
 
@@ -217,7 +223,9 @@
 	 */
 	{ 0x25AA, 0x027E },	// Black small square
 	{ 0x25AE, 0x0260 },	// Black vertical rectangle
+#if 0
 	{ 0x25c6, 0x0260 },	// BLACK DIAMOND
+#endif
 
 	/*
 	 * Miscellaneous symbols and arrows

Modified: trunk/tests/various_code_texts/dec_special_unicode.pl
===================================================================
--- trunk/tests/various_code_texts/dec_special_unicode.pl	2023-09-05 15:35:48 UTC (rev 10889)
+++ trunk/tests/various_code_texts/dec_special_unicode.pl	2023-09-06 15:27:37 UTC (rev 10890)
@@ -5,10 +5,11 @@
 binmode STDOUT, ":utf8";
 local $| = 1;
 
+print "Display using Unicodes instead of DEC Spacial Graphic\n\n";
 #
-print "      0123456789ABCDEF\n";
+print "      0123456789ABCDEF|\n";
 
-print "0x5f: ";
+print "0x50: ";
 print "               \N{U+00a0}";
 print "|\n";
 
@@ -48,4 +49,8 @@
 print "\N{U+00a3}";
 print "\N{U+00b7}";
 print " ";
-print "|\n"
+print "|\n";
+print "\n";
+
+print "scan lines\n";
+print "0x6F-0x73: \N{U+23ba}\N{U+23bb}\N{U+2500}\N{U+23bc}\N{U+23bd}\n";


ttssh2-commit メーリングリストの案内
Back to archive index