mirror of
https://github.com/2234839/web-font.git
synced 2026-04-30 05:08:14 +08:00
根因:optimizettf 中 maxPoints/maxContours 只在 TypedArray 格式(_xArr) 的字形分支中统计,OTF→TTF 转换的字形使用对象 contours 格式, 导致 maxp 表中这两个值为 0,浏览器据此跳过渲染。 同时包含 OTF 解析路径的多项性能优化和清理冗余测试文件。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>