1
0
Эх сурвалжийг харах

【新增】添加字体名称显示横幅脚本

- 更新版本号至 2.3.0
- 升级 fusion-pixel-font 源字体至 2025.10.20 版本
- 在 README 中添加图形符号显示示例
- 新增 print_banner.py 脚本用于显示字体名称
- 优化许可协议部分的链接格式
PJ568 1 жил өмнө
parent
commit
28ac79a086
5 өөрчлөгдсөн 32 нэмэгдсэн , 7 устгасан
  1. 10 2
      README.en.md
  2. 11 3
      README.md
  3. 1 1
      VERSION
  4. 1 1
      build.bash
  5. 9 0
      scripts/print_banner.py

+ 10 - 2
README.en.md

@@ -31,6 +31,14 @@ This font also optimizes the mapping of commonly used graphical symbols in termi
 
 - Before optimization:
 
+  ```plaintext
+  ?????????
+  ?   ?   ?
+  ?????????
+  ?   ?   ?
+  ?????????
+  ```
+  
   (Cannot be displayed correctly)
 
 - After optimization:
@@ -108,9 +116,9 @@ Place `cengluan.psfu.gz` in the `consolefonts` directory (located at `/usr/share
 
 ## License
 
-> Thanks to [oldherl](https://github.com/oldherl) for their forward-looking technical exploration project [syllazh](https://github.com/oldherl/syllazh/);
+> Thanks to **[oldherl](https://github.com/oldherl)** for their forward-looking technical exploration project [syllazh](https://github.com/oldherl/syllazh/);
 >
-> Thanks to **TakWolf** and their team for providing the `fusion-pixel-font` font.
+> Thanks to **[TakWolf](https://github.com/TakWolf)** and their team for providing the [fusion-pixel-font](https://github.com/TakWolf/fusion-pixel-font).
 
 The script files `build.bash`, `build_font_from_bdf.py`, and all files in the `scripts/` directory in this repository follow the [GNU GENERAL PUBLIC LICENSE Version 3](LICENSE),
 `original/references/pinyin_hanzi` in the `original/references/` directory follows the GNU Lesser General Public License (LGPL) 2.1, and other reference files follow the [Unlicense license](original/references/LICENSE),

+ 11 - 3
README.md

@@ -33,7 +33,15 @@ cengluan 是一个为 Linux 设计的中文 TTY 字体,旨在在不安装诸
 
 - 优化前:
 
-  (无法正确显示)
+  ```plaintext
+  ?????????
+  ?   ?   ?
+  ?????????
+  ?   ?   ?
+  ?????????
+  ```
+  
+  (无法正常显示)
 
 - 优化后:
 
@@ -110,9 +118,9 @@ Linux TTY 默认第字体的三十二个字符为 `U+20`,既空格。这个字
 
 ## 许可协议
 
-> 感谢 [oldherl](https://github.com/oldherl) 的前瞻技术探索项目 [syllazh](https://github.com/oldherl/syllazh/);
+> 感谢 **[oldherl](https://github.com/oldherl)** 的前瞻技术探索项目 [syllazh](https://github.com/oldherl/syllazh/);
 >
-> 感谢 **TakWolf** 及其团队提供的 `fusion-pixel-font` 字体。
+> 感谢 **[TakWolf](https://github.com/TakWolf)** 及其团队提供的 [fusion-pixel-font](https://github.com/TakWolf/fusion-pixel-font) 字体。
 
 本仓库中的脚本文件 `build.bash`、`build_font_from_bdf.py` 和 `scripts/` 中的所有文件遵循 [GNU GENERAL PUBLIC LICENSE Version 3 许可协议](LICENSE),
 `original/references/` 目录下的 `original/references/pinyin_hanzi` 遵循 GNU Lesser General Public License (LGPL) 2.1,其余参照文件遵循 [Unlicense 许可协议](original/references/LICENSE),

+ 1 - 1
VERSION

@@ -1 +1 @@
-2.2.1
+2.3.0

+ 1 - 1
build.bash

@@ -8,7 +8,7 @@ mkdir -p $path/temp
 mkdir -p $path/output
 
 # 下载 fusion-pixel-12px-monospaced-zh_hans 的压缩包
-download_url="https://github.com/TakWolf/fusion-pixel-font/releases/download/2025.10.06/fusion-pixel-font-12px-monospaced-bdf-v2025.10.06.zip"
+download_url="https://github.com/TakWolf/fusion-pixel-font/releases/download/2025.10.20/fusion-pixel-font-12px-monospaced-bdf-v2025.10.20.zip"
 wget "$download_url" -O $path/temp/font.zip
 
 # 检查下载是否成功

+ 9 - 0
scripts/print_banner.py

@@ -0,0 +1,9 @@
+def display_banner():
+    print("███████╗ ██████╗ ███╗   ██╗████████╗    ██████╗███████╗███╗   ██╗ ██████╗ ██╗     ██╗   ██╗ █████╗ ███╗   ██╗")
+    print("██╔════╝██╔═══██╗████╗  ██║╚══██╔══╝   ██╔════╝██╔════╝████╗  ██║██╔════╝ ██║     ██║   ██║██╔══██╗████╗  ██║")
+    print("█████╗  ██║   ██║██╔██╗ ██║   ██║█████╗██║     █████╗  ██╔██╗ ██║██║  ███╗██║     ██║   ██║███████║██╔██╗ ██║")
+    print("██╔══╝  ██║   ██║██║╚██╗██║   ██║╚════╝██║     ██╔══╝  ██║╚██╗██║██║   ██║██║     ██║   ██║██╔══██║██║╚██╗██║")
+    print("██║     ╚██████╔╝██║ ╚████║   ██║      ╚██████╗███████╗██║ ╚████║╚██████╔╝███████╗╚██████╔╝██║  ██║██║ ╚████║")
+    print("╚═╝      ╚═════╝ ╚═╝  ╚═══╝   ╚═╝       ╚═════╝╚══════╝╚═╝  ╚═══╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝")
+
+display_banner()