Skip to content

Commit

Permalink
v1.5.1
Browse files Browse the repository at this point in the history
[+] add 京华老宋体
  • Loading branch information
henryxrl committed Oct 18, 2024
1 parent bda7efb commit 078d03e
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down
8 changes: 4 additions & 4 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down
7 changes: 7 additions & 0 deletions css/ui_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -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("康熙字典體傳承版"),
Expand Down
Binary file added fonts/KingHwa_OldSong.woff
Binary file not shown.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<link rel="preload" href="./fonts/qiji-combo.woff" as="font" type="font/woff" crossorigin="anonymous" />
<link rel="preload" href="./fonts/FZSKBXKK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./fonts/LXGWWenKai-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./fonts/FZKTK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./fonts/KingHwa_OldSong.woff" as="font" type="font/woff" crossorigin="anonymous" />
<link rel="preload" href="./images/drop.png" as="image" type="image/png" />
<link rel="preload" href="./images/loading_geometry.gif" as="image" type="image/gif" />
<link rel="preload" href="./images/seal_zh.png" as="image" type="image/png" />
Expand Down
2 changes: 1 addition & 1 deletion manifests/Chrome/regular/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion manifests/Firefox/regular/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion scripts/ui_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
3 changes: 2 additions & 1 deletion scripts_extension/Chrome/no-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="preload" href="./fonts/qiji-combo.woff" as="font" type="font/woff" crossorigin="anonymous" />
<link rel="preload" href="./fonts/FZSKBXKK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<!-- <link rel="preload" href="./fonts/FZSKBXKK.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> -->
<link rel="preload" href="./fonts/FZKTK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./fonts/LXGWWenKai-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./images/drop.png" as="image" type="image/png" />
<link rel="preload" href="./images/loading_geometry.gif" as="image" type="image/gif" />
Expand Down
2 changes: 1 addition & 1 deletion scripts_extension/Chrome/no-ui/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "易笺(无界面版)",
"description": "txt(小说)阅读器:支持本地和云端的所有txt文件,自动排版,自动分页,自动生成目录,记录阅读进度。",
"version": "1.2.9.1",
"version": "1.2.9.2",
"permissions": [],
"content_scripts": [
{
Expand Down
3 changes: 2 additions & 1 deletion scripts_extension/Firefox/no-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="preload" href="./fonts/qiji-combo.woff" as="font" type="font/woff" crossorigin="anonymous" />
<link rel="preload" href="./fonts/FZSKBXKK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<!-- <link rel="preload" href="./fonts/FZSKBXKK.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> -->
<link rel="preload" href="./fonts/FZKTK.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./fonts/LXGWWenKai-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="preload" href="./images/drop.png" as="image" type="image/png" />
<link rel="preload" href="./images/loading_geometry.gif" as="image" type="image/gif" />
Expand Down
2 changes: 1 addition & 1 deletion scripts_extension/Firefox/no-ui/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "易笺(无界面版)",
"description": "txt(小说)阅读器:支持本地和云端的所有txt文件,自动排版,自动分页,自动生成目录,记录阅读进度。",
"version": "1.2.9.1",
"version": "1.2.9.2",
"permissions": [],
"content_scripts": [
{
Expand Down

0 comments on commit 078d03e

Please sign in to comment.