diff --git a/README.md b/README.md index 5054d63..9ddcb84 100644 --- a/README.md +++ b/README.md @@ -129,15 +129,15 @@ 火狐插件: -1. [易笺正常版 (v1.5)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian/) +1. [易笺正常版 (v1.5.1)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian/) -2. [易笺无界面版 (v1.2.9.1)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian_nogui/) +2. [易笺无界面版 (v1.2.9.2)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian_nogui/) Chrome插件: -1. [易笺正常版 (v1.5)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0) +1. [易笺正常版 (v1.5.1)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0) -2. [易笺无界面版 (v1.2.9.1)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0) +2. [易笺无界面版 (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0) --- diff --git a/README_EN.md b/README_EN.md index 2c60e0d..1c83662 100644 --- a/README_EN.md +++ b/README_EN.md @@ -131,15 +131,15 @@ Support for customized settings such as font size, line height, theme colors and Firefox: -1. [Regular (v1.5)](https://addons.mozilla.org/en-US/firefox/addon/yijian/) +1. [Regular (v1.5.1)](https://addons.mozilla.org/en-US/firefox/addon/yijian/) -2. [No-UI (v1.2.9.1)](https://addons.mozilla.org/en-US/firefox/addon/yijian_nogui/) +2. [No-UI (v1.2.9.2)](https://addons.mozilla.org/en-US/firefox/addon/yijian_nogui/) Chrome: -1. [Regular (v1.5)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0) +1. [Regular (v1.5.1)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0) -2. [No-UI (v1.2.9.1)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0) +2. [No-UI (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0) --- diff --git a/css/ui_variables.css b/css/ui_variables.css index b82a978..b8c5b88 100644 --- a/css/ui_variables.css +++ b/css/ui_variables.css @@ -29,6 +29,13 @@ url(../fonts/FZKTK.woff2) format('woff2'); font-display: swap; } +@font-face { + font-family:"kinghwa"; + src:local("京華老宋体"), local("京华老宋体"), local("KingHwa"), local("KingHwa_OldSong"), + url(../fonts/KingHwa_OldSong.woff) format('woff'); + font-display: swap; + size-adjust: 95%; +} /* @font-face { font-family:"康熙字典體傳承版"; src:local("康熙字典體傳承版"), diff --git a/fonts/KingHwa_OldSong.woff b/fonts/KingHwa_OldSong.woff new file mode 100644 index 0000000..450dabe Binary files /dev/null and b/fonts/KingHwa_OldSong.woff differ diff --git a/index.html b/index.html index d1edd15..3d1afdd 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,8 @@ + + diff --git a/manifests/Chrome/regular/manifest.json b/manifests/Chrome/regular/manifest.json index f285e65..edab9dd 100644 --- a/manifests/Chrome/regular/manifest.json +++ b/manifests/Chrome/regular/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "易笺", "description": "txt(小说)阅读器:支持秒开本地的所有txt文件,自动排版,自动分页,自动生成目录,记录阅读进度。", - "version": "1.5", + "version": "1.5.1", "background": { "service_worker": "scripts_extension/Chrome/regular/activate.js" }, diff --git a/manifests/Firefox/regular/manifest.json b/manifests/Firefox/regular/manifest.json index 4aa63bf..68e344c 100644 --- a/manifests/Firefox/regular/manifest.json +++ b/manifests/Firefox/regular/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "易笺", "description": "txt(小说)阅读器:支持秒开本地的所有txt文件,自动排版,自动分页,自动生成目录,记录阅读进度。", - "version": "1.5", + "version": "1.5.1", "background": { "scripts": [ "scripts_extension/Firefox/regular/activate.js" diff --git a/scripts/ui_settings.js b/scripts/ui_settings.js index 574afd7..acc6d07 100644 --- a/scripts/ui_settings.js +++ b/scripts/ui_settings.js @@ -65,7 +65,8 @@ const custom_fonts = [ { en: 'title', zh: 'title', label_zh: style.ui_font_title_label_zh, label_en: style.ui_font_title_label_en }, { en: 'body', zh: 'body', label_zh: style.ui_font_body_label_zh, label_en: style.ui_font_body_label_en }, { en: 'fzkai', zh: 'fzkai', label_zh: '方正楷体', label_en: 'FZKaiTi' }, - { en: 'ui', zh: 'ui', label_zh: style.ui_font_ui_label_zh, label_en: style.ui_font_ui_label_en } + { en: 'ui', zh: 'ui', label_zh: style.ui_font_ui_label_zh, label_en: style.ui_font_ui_label_en }, + { en: 'kinghwa', zh: 'kinghwa', label_zh: '京華老宋体', label_en: 'KingHwa_OldSong' } ]; const fallback_fonts = ['ui', 'serif', 'sans-serif', 'monospace']; let filtered_font_names = []; diff --git a/scripts_extension/Chrome/no-ui/index.html b/scripts_extension/Chrome/no-ui/index.html index e905a89..8e9c3d8 100644 --- a/scripts_extension/Chrome/no-ui/index.html +++ b/scripts_extension/Chrome/no-ui/index.html @@ -5,7 +5,8 @@