Browse Source

Merge pull request #560 from bhikkhu-kosalla-china/master

巴利折行优化+傣文转码优化
Bhikkhu China Kosalla 4 years ago
parent
commit
d6a69fc8d8
3 changed files with 5 additions and 2 deletions
  1. 2 1
      app/public/charcode/converter_tai_tham.js
  2. 2 1
      app/public/charcode/tai_tham.js
  3. 1 0
      app/term/term.css

+ 2 - 1
app/public/charcode/converter_tai_tham.js

@@ -62,7 +62,7 @@ var char_roman_to_tai = [
 	{ id: "ndā", value: "ᨶᩣ᩠ᨴ" },
 	{ id: "nnā", value: "ᨶᩣ᩠ᨶ" },
 	{ id: "ntā", value: "ᨶᩣ᩠ᨲ" },
-	{ id: "ṅgo", value: "ᩘᨣᩮᩤ" },//  ᩘᩮ᩠ᨣᩣ
+	{ id: "ṅgo", value: "ᩘ ᨣᩮᩤ" },//  ᩘᩮ᩠ᨣᩣ
 	{ id: "ṅko", value: "ᩘᨠᩮᩣ" },//  ᩘᩮ᩠ᨠᩣ
 	{ id: "ñco", value: "ᨬᩮ᩠ᨧᩣ" },
 	{ id: "ñjo", value: "ᨬᩮ᩠ᨩᩣ" },
@@ -217,6 +217,7 @@ var char_roman_to_tai = [
 	{ id: "ᨷᩣ", value: "ᨷᩤ" },
 	{ id: "ᩅᩣ", value: "ᩅᩤ" },
 	{ id: "ᨴ᩠ᩅᩣ", value: "ᨴ᩠ᩅᩤ" },
+	{ id: "ᩘ ", value: "ᩘ" },
 		
 ];
 

+ 2 - 1
app/public/charcode/tai_tham.js

@@ -62,7 +62,7 @@ var char_roman_to_tai = [
 	{ id: "ndā", value: "ᨶᩣ᩠ᨴ" },
 	{ id: "nnā", value: "ᨶᩣ᩠ᨶ" },
 	{ id: "ntā", value: "ᨶᩣ᩠ᨲ" },
-	{ id: "ṅgo", value: " ᩘᨣᩮᩣ" },//  ᩘᩮ᩠ᨣᩣ
+	{ id: "ṅgo", value: "ᩘ ᨣᩮᩤ" },//  ᩘᩮ᩠ᨣᩣ
 	{ id: "ṅko", value: "ᩘᨠᩮᩣ" },//  ᩘᩮ᩠ᨠᩣ
 	{ id: "ñco", value: "ᨬᩮ᩠ᨧᩣ" },
 	{ id: "ñjo", value: "ᨬᩮ᩠ᨩᩣ" },
@@ -218,6 +218,7 @@ var char_roman_to_tai = [
 { id: "ᨷᩣ", value: "ᨷᩤ" },
 { id: "ᩅᩣ", value: "ᩅᩤ" },
 { id: "ᨴ᩠ᩅᩣ", value: "ᨴ᩠ᩅᩤ" },
+{ id: "ᩘ ", value: "ᩘ" },
 
 
 

+ 1 - 0
app/term/term.css

@@ -303,6 +303,7 @@ note > .palitext,
 	line-height: 2em;
 	color: #9f3a01;
 	margin: 4px;
+	overflow-wrap: anywhere;
 }
 h1 .palitext {
 	font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";