From 95eb44855554f3814a1a37d71806adc1c22fa193 Mon Sep 17 00:00:00 2001 From: YangFong Date: Sat, 20 Apr 2024 09:51:14 +0800 Subject: [PATCH] feat: supports equal width fonts (#287) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 加入字体新选项 - 更新示例文本以便观察区别 --- src/assets/scripts/config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/assets/scripts/config.js b/src/assets/scripts/config.js index 9be2527..e8319eb 100644 --- a/src/assets/scripts/config.js +++ b/src/assets/scripts/config.js @@ -3,12 +3,17 @@ export default { { label: `无衬线`, value: `-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif`, - desc: `Abc`, + desc: `字体123Abc`, }, { label: `衬线`, value: `Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif`, - desc: `Abc`, + desc: `字体123Abc`, + }, + { + label: `等宽`, + value: `Menlo, Monaco, 'Courier New', monospace`, + desc: `字体123Abc`, }, ], sizeOption: [