Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.12 排版中空格的事宜 #20

Open
Cyl18 opened this issue Feb 17, 2022 · 3 comments
Open

1.12 排版中空格的事宜 #20

Cyl18 opened this issue Feb 17, 2022 · 3 comments

Comments

@Cyl18
Copy link

Cyl18 commented Feb 17, 2022

O6B%44 %V4H MYM4FN2T$SM

@3TUSK
Copy link
Collaborator

3TUSK commented Feb 19, 2022

「部分修复」?


题外话,我之前考虑过「能否写一个 Mod 自动在遇到汉字和数字/拉丁字母交界处自动加『空格』」。这样应该可以兼顾「不喜欢加空格」的用户。
「空格」加引号是因为「这样一个 Mod 的实现方式很可能不是插入一个 1/4 宽空格,而是直接偏移下一个待渲染字符的位置」。

@3TUSK
Copy link
Collaborator

3TUSK commented Feb 26, 2022

后续,在 1.16.5 里简单试验了一下混排的行为,并没有发现混排的情况有多大改善。有具体截图吗?

@TartaricAcid
Copy link

TartaricAcid commented Feb 26, 2022

之前参考的排版是依据中文文案排版指北的规范来的,所以当时沿用这个规范并不是因为 Unicode 字符这样的问题才这样做的。

以及提到的意外换行问题,只会发生在需要换行的长文本中:比如特别长的 tooltips 或手册文本(Patchouli 除外,它做了很好的换行逻辑)

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

No branches or pull requests

3 participants