Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

feat(ui-mig): G1.3 Noto Sans SC per D4, weight 600 through the wght axis

Veyra Goal Agentb38018ed9733
diff --git a/docs/UI_FULL_GOAL_PLAN_2026-09-26.md b/docs/UI_FULL_GOAL_PLAN_2026-09-26.md
index 5e298b00..b1188fcd 100644
--- a/docs/UI_FULL_GOAL_PLAN_2026-09-26.md
+++ b/docs/UI_FULL_GOAL_PLAN_2026-09-26.md
@@ -10,7 +10,7 @@
| 阶段 | 状态 | 最后标签 | 备注 |
|---|---|---|---|
| G0 工具与基线 | 完成 | checkpoint/ui-mig-g0.7 | 设计参考 `design-ref/`、对比 `compare/`、动效曲线 `goal/g0.5/`、缓动测试 `veyra_qml_easing_tests`(构建目录 `build/qt-probe-20260926`)、门槛基线 `goal/g0.7/`(B 阶段性能对比用 `goal/g0.7/perf`) |
-| G1 基础(缓动/背景/字体/图标/组件动效) | 进行中 | checkpoint/ui-mig-g1.2 | G1.1 缓动、G1.2 背景完成(Qt 6.8.3:BezierSpline ≤10 段;CurveRenderer 不能用 fillItem);下一步 G1.3 字体 |
+| G1 基础(缓动/背景/字体/图标/组件动效) | 进行中 | checkpoint/ui-mig-g1.3 | G1.1 缓动、G1.2 背景、G1.3 字体完成(Qt 6.8.3:BezierSpline ≤10 段;CurveRenderer 不能用 fillItem;可变字体 600 须设 wght 轴);下一步 G1.4 图标 |
| G2 外壳 | 未开始 | | |
| G3 四主屏 | 未开始 | | |
| B1 小项 + 桥接补齐 | 未开始 | | |
@@ -28,7 +28,7 @@
| D1 | 极简模式播放条压边需独立顶层窗口 | 做独立小窗,PresentMon 对比显示/隐藏;有可复现退化则退回“条在画面下方”并记录 |
| D2 | 画幅跟随是全部片源还是仅极简 | 仅极简模式 |
| D3 | 帧率读数 | 只显示“提交 fps”(用户 §6 决定),设计稿的“显示 fps”删除 |
-| D4 | Geist 字体 | 若本机可取得 OFL 原件则放 `E:\项目\Veyra\deps\fonts`、运行目录加载、NOTICES 标注;取不到则用 Noto Sans SC / Consolas 并记录偏差 |
+| D4 | Geist 字体(已触发:取不到,用 Noto Sans SC / Consolas) | 若本机可取得 OFL 原件则放 `E:\项目\Veyra\deps\fonts`、运行目录加载、NOTICES 标注;取不到则用 Noto Sans SC / Consolas 并记录偏差 |
| D5 | 播放条毛玻璃 | 原生视频上无法取样模糊,用 rgba(22,22,26,.86) 近似,记录偏差 |
| D6 | 调色“效果”组(纹理/清晰度/去雾) | 设计稿没有 → 不显示 |
| D7 | AMD FSR 补帧 / NVIDIA FSR4 | 保持隐藏 / 已撤回 |
diff --git a/docs/UI_MIGRATION_EXECUTION_2026-09-25.md b/docs/UI_MIGRATION_EXECUTION_2026-09-25.md
index 0136724a..726707ff 100644
--- a/docs/UI_MIGRATION_EXECUTION_2026-09-25.md
+++ b/docs/UI_MIGRATION_EXECUTION_2026-09-25.md
@@ -45,6 +45,7 @@
| G0.7 | 全部门槛基线 | 完成 | `checkpoint/ui-mig-g0.7` | 证据 `goal/g0.7/`。构建 exit 0、stage 0;哈希 17/17 same;性能与 perf-baseline 同量级,提交 fps 全同,plain-1080 gpuReady P95 1.57→2.68ms(本轮未动引擎,按本轮基线记录);delivery PASS;单元 pass=44 fail=33 skip=3 与基线一致 |
| G1.1 | 缓动曲线改 6 值段 | 完成 | `checkpoint/ui-mig-g1.1` | 证据 `goal/g1.1/`。Theme `linearEasing()` 把 CSS linear() 停靠点逐段转三次段;veyra_qml_easing_tests 三曲线全过(spring 10 段误差 0.0068、springSoft/easeOut 0.0000)。Qt 6.8.3 缺陷:BezierSpline ≥11 段销毁时堆损坏(C++ 无 QML 复现,n≤10 正常),spring 删 28.4%/38.5% 两个停靠点降到 10 段,测试加段数上限检查(12 段版被判 FAIL,记录 12seg-caught.txt)。动效采样 dock 峰值 10.59 vs 设计 10.17、开关 14.6 vs 14.6;页面切换仍无过渡,属 G2.2 |
| G1.2 | 窗口背景径向渐变 + 颗粒 | 完成 | `checkpoint/ui-mig-g1.2` | 证据 `goal/g1.2/`。先试 QML RadialGradient(形状对,但 7..28 级梯度量化成可见圆环,a/b/c 与拉伸图);改为 `tools/qt_probe/make-backdrop.py` 浮点计算 app.css .vy 渐变并一次抖动生成 `backdrop.png`,`VBackdrop.qml` 以 Shape fillItem 圆角裁切。Qt 6.8.3 CurveRenderer + fillItem 访问冲突(qml.exe 最小复现),改 GeometryRenderer + 4x 多重采样。六个采样块均值与设计差 ≤0.1 级、颗粒 std 0.18–0.55(设计 0.29–0.66);拉伸对比图无圆环。f-min 与改前逐像素一致,f-pro/f-node 仅背景像素变化 |
+| G1.3 | 字体(D4) | 完成 | `checkpoint/ui-mig-g1.3` | 证据 `goal/g1.3/`。本机无 Geist,按 D4 用设计稿 --f-ui 第二候选 Noto Sans SC(Edge 渲染参考图同此字体),等宽保持 Consolas(偏差记录)。Qt 6.8.3 对 Noto Sans SC 可变字体 font.weight 600 取到细体实例(500/700 正常,qml.exe 最小复现 `min/Font.qml`),故 DemiBold 处同时设 `font.variableAxes: Theme.axesDemiBold`(wght 600)。title-zoom(改前细体)与 title-zoom-b(修后,与设计同粗)已看 |
## 发现并修复的 bug
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index cd39c792..0f2c4d5e 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -6588,3 +6588,10 @@ release. 5090 live acceptance, 15-second hitch and user flicker remain unresolve
Qt 6.8.3 缺陷:Shape.CurveRenderer + fillItem 进程访问冲突(`tmp/.../min/Bd.qml` qml.exe exit -1073741819,GeometryRenderer exit 0),故用 GeometryRenderer + layer.samples 4。
验证:`shoot-all.ps1 -Frames f-home,f-min,f-pro,f-node` + `compose-compare.ps1`,看图;六个 40px 采样块 RGB 均值与设计差 ≤0.1 级,拉伸图无圆环;
f-min 与 G1.2 前逐像素一致(该屏黑画面为既有差距,G3 处理),f-pro/f-node 仅背景像素变化。
+
+- G1.3 字体(证据 `E:/项目/Veyra/logs/ui-qml-migration-20260925/goal/g1.3/`):
+ D4:本机无 Geist 原件,Theme.fontUi 改为设计稿 --f-ui 第二候选 "Noto Sans SC";fontMono 仍 Consolas(设计 Geist Mono 缺失,偏差)。
+ 第一次截图标题比设计细(title-zoom.png);qml.exe 最小复现证明 Qt 6.8.3 可变字体 weight 600 取细体、wght 轴 400–700 正常,
+ 于是 16 处 Font.DemiBold 加 `font.variableAxes: Theme.axesDemiBold`,VButton 主按钮同。
+ 验证:`scripts/build-qt-probe.ps1`、sync、`shoot-all.ps1 -Frames f-home,f-pro` + `compose-compare.ps1`(goal/g1.3/b),
+ title-zoom-b.png 标题与设计同粗、Medium 文本正常;本次运行日志无 QML ERROR。
diff --git a/qml/Veyra/DialogHost.qml b/qml/Veyra/DialogHost.qml
index 39706f42..f3b77046 100644
--- a/qml/Veyra/DialogHost.qml
+++ b/qml/Veyra/DialogHost.qml
@@ -81,7 +81,7 @@ Item {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsH2
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
Text {
Layout.fillWidth: true
diff --git a/qml/Veyra/HomePage.qml b/qml/Veyra/HomePage.qml
index 29befe72..9ff2b920 100644
--- a/qml/Veyra/HomePage.qml
+++ b/qml/Veyra/HomePage.qml
@@ -40,7 +40,7 @@ Item {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsH1
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
Text {
Layout.alignment: Qt.AlignHCenter
@@ -161,7 +161,7 @@ Item {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsBody
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
Text {
Layout.fillWidth: true
diff --git a/qml/Veyra/MinimalPage.qml b/qml/Veyra/MinimalPage.qml
index c82b5237..b20ceb69 100644
--- a/qml/Veyra/MinimalPage.qml
+++ b/qml/Veyra/MinimalPage.qml
@@ -96,7 +96,7 @@ Item {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: 13
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
elide: Text.ElideRight
}
Text {
diff --git a/qml/Veyra/NodePage.qml b/qml/Veyra/NodePage.qml
index cb4e0a04..a1aa594f 100644
--- a/qml/Veyra/NodePage.qml
+++ b/qml/Veyra/NodePage.qml
@@ -115,7 +115,7 @@ Item {
color: modelData.hi && veyra.displayFpsKnown ? Theme.ok : Theme.t1
font.family: Theme.fontMono
font.pixelSize: modelData.hi ? 14 : 12
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
}
}
@@ -266,7 +266,7 @@ Item {
color: Qt.rgba(0, 0, 0, 0.78)
font.family: Theme.fontUi
font.pixelSize: 10
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
elide: Text.ElideRight
width: parent.width - 6
horizontalAlignment: Text.AlignHCenter
@@ -338,7 +338,7 @@ Item {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsBody
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
elide: Text.ElideRight
}
// .ms badge: this node's cost, or "未接入" when it has none.
@@ -354,7 +354,7 @@ Item {
color: card.node.costMs > 0 ? "#FFFFFF" : Theme.t3
font.family: Theme.fontMono
font.pixelSize: 10
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
}
Text { visible: card.locked; text: "🔒"; font.pixelSize: 10; opacity: 0.7 }
diff --git a/qml/Veyra/ProPage.qml b/qml/Veyra/ProPage.qml
index dadc3943..b143d634 100644
--- a/qml/Veyra/ProPage.qml
+++ b/qml/Veyra/ProPage.qml
@@ -308,7 +308,7 @@ Item {
color: veyra.displayFpsKnown ? Theme.ok : Theme.t3
font.family: Theme.fontMono
font.pixelSize: 22
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
Text { text: "显示 fps"; color: Theme.t3; font.family: Theme.fontUi; font.pixelSize: 11 }
Rectangle { implicitWidth: 1; implicitHeight: 12; color: Theme.stroke2 }
@@ -317,7 +317,7 @@ Item {
color: Theme.t1
font.family: Theme.fontMono
font.pixelSize: 13
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
Text { text: "提交"; color: Theme.t3; font.family: Theme.fontUi; font.pixelSize: 11 }
}
diff --git a/qml/Veyra/Theme.qml b/qml/Veyra/Theme.qml
index 0e47d58a..6e7749fd 100644
--- a/qml/Veyra/Theme.qml
+++ b/qml/Veyra/Theme.qml
@@ -96,7 +96,13 @@ QtObject {
readonly property var easeOut: [0.2, 0.8, 0.2, 1.0, 1.0, 1.0]
// --- type (--f-ui / --f-mono and the .h1/.h2/.h3 scale) ---------------
- readonly property string fontUi: "Microsoft YaHei UI"
+ // --f-ui is "Geist", "Noto Sans SC", ...: Geist is not on this machine (D4), so
+ // the design's own second choice, which is also what Edge rendered the reference
+ // with. Noto Sans SC ships as a variable font; Qt 6.8.3 maps font.weight 600 to a
+ // thin instance of it (500 and 700 are fine), so every DemiBold also sets the wght
+ // axis directly (G1.3, tmp/.../min/Font.qml).
+ readonly property string fontUi: "Noto Sans SC"
+ readonly property var axesDemiBold: ({ "wght": 600 })
readonly property string fontMono: "Consolas"
readonly property real fsEyebrow: 11
readonly property real fsSmall: 11.5
diff --git a/qml/Veyra/VAccordion.qml b/qml/Veyra/VAccordion.qml
index 4e7962d0..07b880f1 100644
--- a/qml/Veyra/VAccordion.qml
+++ b/qml/Veyra/VAccordion.qml
@@ -77,7 +77,7 @@ Rectangle {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: 13
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
elide: Text.ElideRight
}
Text {
diff --git a/qml/Veyra/VButton.qml b/qml/Veyra/VButton.qml
index 5c9e2641..a1e21bc5 100644
--- a/qml/Veyra/VButton.qml
+++ b/qml/Veyra/VButton.qml
@@ -31,6 +31,7 @@ Rectangle {
font.family: Theme.fontUi
font.pixelSize: Theme.fsBody
font.weight: btn.primary ? Font.DemiBold : Font.Medium
+ font.variableAxes: btn.primary ? Theme.axesDemiBold : ({})
}
HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor }
TapHandler { id: tap; onTapped: btn.clicked() }
diff --git a/qml/Veyra/VH1.qml b/qml/Veyra/VH1.qml
index 530d24fa..c6fee1bf 100644
--- a/qml/Veyra/VH1.qml
+++ b/qml/Veyra/VH1.qml
@@ -4,5 +4,5 @@ Text {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsH1
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
diff --git a/qml/Veyra/VH2.qml b/qml/Veyra/VH2.qml
index b65fc363..3c686255 100644
--- a/qml/Veyra/VH2.qml
+++ b/qml/Veyra/VH2.qml
@@ -4,5 +4,5 @@ Text {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsH2
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
diff --git a/qml/Veyra/VH3.qml b/qml/Veyra/VH3.qml
index fd89ef67..89189b93 100644
--- a/qml/Veyra/VH3.qml
+++ b/qml/Veyra/VH3.qml
@@ -4,5 +4,5 @@ Text {
color: Theme.t1
font.family: Theme.fontUi
font.pixelSize: Theme.fsH3
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
diff --git a/qml/Veyra/VTag.qml b/qml/Veyra/VTag.qml
index 8c7af5d5..ef3d118e 100644
--- a/qml/Veyra/VTag.qml
+++ b/qml/Veyra/VTag.qml
@@ -24,6 +24,6 @@ Rectangle {
: Theme.t2
font.family: Theme.fontUi
font.pixelSize: 11
- font.weight: Font.DemiBold
+ font.weight: Font.DemiBold; font.variableAxes: Theme.axesDemiBold
}
}