feat(posters): 新增思源黑体 Noto Sans SC(中文黑体 400/700),海报库达 2360/66

This commit is contained in:
sgp
2026-11-05 01:47:36 +08:00
parent d3204ab459
commit 73f788556b
13 changed files with 83 additions and 26 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
const HGB_PosterLib = (function () {
'use strict';
const VERSION = '20261105d'; // 与 poster.html 中 poster-builtin.js?v= 版本联动
const VERSION = '20261105e'; // 与 poster.html 中 poster-builtin.js?v= 版本联动
const cache = {}; // sid -> {items:[...]}
const pending = {}; // sid -> Promise
+3 -3
View File
@@ -5,7 +5,7 @@
## 生成时间
2026-11-04T17:37:47.941Z
2026-11-04T17:47:13.304Z
## ① 图标库(共享,LOGO/头像/海报共用)
@@ -15,8 +15,8 @@
## ② 海报素材库
- 源数:65 | 素材总数:2358
- 类型分布:palette 7 / decoration 4 / bg 4 / font 50
- 源数:66 | 素材总数:2360
- 类型分布:palette 7 / decoration 4 / bg 4 / font 51
- 源清单:js/data/manifest/posters.json
## ③ 技能库
+22 -2
View File
@@ -1,7 +1,7 @@
{
"kind": "posters",
"total": 2358,
"builtAt": "2026-11-04T17:37:15.001Z",
"total": 2360,
"builtAt": "2026-11-04T17:44:28.985Z",
"guide": "js/data/manifest/README.md",
"idRule": "「源:相对路径」,如 fontsource-inter:latin-400-normal.woff2",
"sources": [
@@ -1304,6 +1304,26 @@
"workspaces": [
"poster"
]
},
{
"id": "noto-sans-sc",
"type": "font",
"name": "Noto Sans SC",
"nameCn": "思源黑体(中文黑体)",
"desc": "Google 与 Adobe 联合开源的思源黑体简体中文版(OFL 1.1),字形中性、结构严谨、字重完整,是中文海报标题与正文的通用黑体首选",
"license": "OFL-1.1",
"licenseNote": "SIL Open Font License 1.1,可自由商用、修改与再分发,需保留版权声明且不得单独售卖字体",
"home": "https://fonts.google.com/noto/specimen/Noto+Sans+SC",
"github": "https://github.com/googlefonts/noto-cjk",
"format": "gh-files",
"coordText": "SubsetOTF 单文件(简体中文全字形子集,约 8MB / 字重)",
"variants": "Regular 400 / Bold 700",
"added": "2026-11-05",
"count": 2,
"file": "posters/noto-sans-sc.js",
"workspaces": [
"poster"
]
}
]
}
File diff suppressed because one or more lines are too long
+29
View File
@@ -929,6 +929,35 @@
variants: '24 组色系 × 12 级色阶 = 288 色',
added: '2026-11-05',
workspaces: ['poster']
},
/* ============================================================
* —— 2026-11-05 中文黑体:思源黑体(Noto Sans SC)——
* 来源 googlefonts/noto-cjk,SubsetOTF/SC 为简体中文完整字形子集单文件
* 仓库体积过大无法整树枚举(jsDelivr API 拒绝),改用显式 files 清单直拉
* ============================================================ */
{
id: 'noto-sans-sc',
type: 'font',
name: 'Noto Sans SC',
nameCn: '思源黑体(中文黑体)',
desc: 'Google 与 Adobe 联合开源的思源黑体简体中文版(OFL 1.1),字形中性、结构严谨、字重完整,是中文海报标题与正文的通用黑体首选',
license: 'OFL-1.1',
licenseNote: 'SIL Open Font License 1.1,可自由商用、修改与再分发,需保留版权声明且不得单独售卖字体',
home: 'https://fonts.google.com/noto/specimen/Noto+Sans+SC',
github: 'https://github.com/googlefonts/noto-cjk',
format: 'gh-files',
gh: 'googlefonts/noto-cjk',
ghBranch: 'main',
files: [
'Sans/SubsetOTF/SC/NotoSansSC-Regular.otf',
'Sans/SubsetOTF/SC/NotoSansSC-Bold.otf'
],
ext: ['.otf'],
scaleMode: 'wrap',
coordText: 'SubsetOTF 单文件(简体中文全字形子集,约 8MB / 字重)',
variants: 'Regular 400 / Bold 700',
added: '2026-11-05',
workspaces: ['poster']
}
];
});
+2
View File
@@ -0,0 +1,2 @@
/* Noto Sans SC(由 scripts/build-posters.js 生成,勿手动编辑)@cfg:ym2vlg */
window['HGB_PosterSource_noto-sans-sc'] = {"items":[{"id":"noto-sans-sc:NotoSansSC-Regular","name":"NotoSansSC-Regular","type":"font","category":"font","categoryCn":"字体排版","workspaces":["poster"],"file":"posters/noto-sans-sc/files/NotoSansSC-Regular.otf","mime":"application/octet-stream","bytes":8331336,"sha256":"faa6c9df652116dde789d351359f3d7e5d2285a2b2a1f04a2d7244df706d5ea9","width":null,"height":null},{"id":"noto-sans-sc:NotoSansSC-Bold","name":"NotoSansSC-Bold","type":"font","category":"font","categoryCn":"字体排版","workspaces":["poster"],"file":"posters/noto-sans-sc/files/NotoSansSC-Bold.otf","mime":"application/octet-stream","bytes":8543168,"sha256":"c6cb5a93abaa9edc8ee7463b7ebb7f42d618d40e6ed2f7a5371c97b0b64767c0","width":null,"height":null}]};