浏览代码

经典傣文

bhikkhu-kosalla-china 4 年之前
父节点
当前提交
619a3f3d59
共有 4 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      app/pcdl/css/reader.css
  2. 2 2
      app/ucenter/setting.js
  3. 4 4
      app/ucenter/setting.php
  4. 二进制
      font/NotoSans/NotoSansTaiTham-Regular.ttf

+ 1 - 1
app/pcdl/css/reader.css

@@ -53,7 +53,7 @@
   padding-left: 21em;
   padding-right: 20em;
   padding-top: 2.5em;
-  font-family: "Noto Sans", "Noto Sans SC", "Noto Sans TC", Arial, Verdana;
+  font-family: "Noto Sans", "Noto Sans SC", "Noto Sans TC","Noto Sans Tai Tham", "ATaiThamKHNewV3-Normal", Arial, Verdana;
 }
 
 button,

+ 2 - 2
app/ucenter/setting.js

@@ -182,13 +182,13 @@ function setting_paliscript_change(set) {
 }
 function setting_render_paliscript(set) {
 	let html = "";
-	html += "<select id='" + set + "' onchange=\"setting_paliscript_change('" + set + "')\">";
+	html += "<select id='" + set + "' onchange=\"setting_paliscript_change('" + set + "')\" style='font-family:\"Noto Sans\", \"Noto Sans SC\", \"Noto Sans TC\",\"Noto Sans Tai Tham\", \"ATaiThamKHNewV3-Normal\", Arial, Verdana'>";
 	for (const iterator of setting["_lib.pali_script"]) {
 		html += "<option value='" + iterator + "'";
 		if (iterator == setting[set]) {
 			html += "selected='selected'";
 		}
-		html += ">";
+		html += " style='font-family:\"Noto Sans\", \"Noto Sans SC\", \"Noto Sans TC\",\"Noto Sans Tai Tham\", \"ATaiThamKHNewV3-Normal\", Arial, Verdana'>";
 		html += iterator;
 		html += "</option>";
 	}

+ 4 - 4
app/ucenter/setting.php

@@ -48,12 +48,12 @@ require_once '../public/function.php';
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
-	<link type="text/css" rel="stylesheet" href="../studio/css/font.css"/>
+	<link type="text/css" rel="stylesheet" href="../pcdl/css/font.css"/>
+
 	<link type="text/css" rel="stylesheet" href="../pcdl/css/reader.css"/>
 	<link type="text/css" rel="stylesheet" href="../pcdl/css/reader_mob.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="../public/css/notify.css"/>
-	<title id="page_title">Setting</title>
-
+	<title id="page_title"><?php echo $_local->gui->setting; ?></title>
 	<script src="../public/js/jquery-3.5.1.js"></script>
 	<script src="../public/js/jquery-ui-1.12.1/jquery-ui.js"></script>	
 	<script src="../public/js/fixedsticky.js"></script>
@@ -235,7 +235,7 @@ para:hover{
 				</button>
 			</div>
 			<div>
-				<span id="tool_bar_title" style="font-family: 'Noto Serif';"><?php echo $_local->gui->title; ?></span>
+				<span id="tool_bar_title" style="font-family: 'Noto Serif';"><?php echo $_local->gui->setting; ?></span>
 			</div>
 			<div style="display: flex;">	
 

二进制
font/NotoSans/NotoSansTaiTham-Regular.ttf