Skip to content

Optimize font startup for 26.1 优化字体首次加载与图集上传 - #273

Merged
PigeonNian merged 1 commit into
Anvil-Dev:dev/26.1from
WhereisFff:codex/font-startup-26.1
Nov 13, 2026
Merged

PigeonNian merged 1 commit into
Anvil-Dev:dev/26.1from
WhereisFff:codex/font-startup-26.1

Conversation

@WhereisFff

Copy link
Copy Markdown
Contributor

perf(font): 优化字体首次加载与图集上传

  • 分离字体度量和字形生成,提前预热常用样式并按需生成字形
  • 使用有界后台任务队列处理字形,缩短图集发布锁并保持文字宽度稳定
  • 复用字体纹理并只上传变化区域,避免整页转换和重复创建,及时释放临时图像
  • 保留完整文本布局缓存,补充异步生成、并发请求及增量上传回归测试

- 分离字体度量和字形生成,提前预热常用样式并按需生成字形
- 使用有界后台任务队列处理字形,缩短图集发布锁并保持文字宽度稳定
- 复用字体纹理并只上传变化区域,避免整页转换和重复创建,及时释放临时图像
- 保留完整文本布局缓存,补充异步生成、并发请求及增量上传回归测试
@Gugle2308

Copy link
Copy Markdown

🌿 Roseau API Breaking Change Report

Module Status Breaking Changes
codec ✅ Compatible 0
collision ✅ Compatible 0
cube ✅ Compatible 0
config ✅ Compatible 0
integration ✅ Compatible 0
moveable-entity-block ✅ Compatible 0
network ✅ Compatible 0
rendering ✅ Compatible 0
space-select ✅ Compatible 0
font ✅ Compatible 0
util ✅ Compatible 0
explosion ✅ Compatible 0
rpc ✅ Compatible 0
math ✅ Compatible 0
multiblock ✅ Compatible 0
recipe ✅ Compatible 0
registrum ✅ Compatible 0
sync ✅ Compatible 0
ui ✅ Compatible 0
wheel ✅ Compatible 0
main ✅ Compatible 0

Full CSVs: see the Artifacts section of this workflow run.

@PigeonNian
PigeonNian merged commit eceec46 into Anvil-Dev:dev/26.1 Nov 13, 2026
1 check passed

@Gugle2308 Gugle2308 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

结论:PR #273 已合并,无需审查。

“Optimize font startup for 26.1 优化字体首次加载与图集上传”当前状态为 state=closed 且 merged=true(合并时间 2026-11-13T15:30:05Z,squash 提交为 eceec46254),共 8 个文件、新增 291 行、删除 137 行。按照 AGENTS.md 的硬性规则,PR 为 closed 时立即停止、不发布任何评论,因此本轮不产出审查正文,也不改动 PR 标题。

至此,同族四条分支移植 PR 均已合并:#270(dev/1.21.4)、#271(dev/1.21.8)、#272(dev/1.21.11)、#273(dev/26.1)。如果后续有 dev/26.2 或 dev/26.3 的新 PR 处于开启状态,那才需要完整审查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants