Skip to content

text-spacing 的默认值 space-first 问题 #236

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

Closed
hax opened this issue Jan 17, 2020 · 2 comments
Closed

text-spacing 的默认值 space-first 问题 #236

hax opened this issue Jan 17, 2020 · 2 comments

Comments

@hax
Copy link
Member

hax commented Jan 17, 2020

在看 #230 时看到一个text-spacing特定的issue:w3c/csswg-drafts#2462

如果我理解没错,日本同学提议以 space-first 作为默认值,行为是:起始括号等在行首用半角但段首除外(段首用全角)。

中文排版中常见这样吗?

感觉上,中文排版如采用段首缩进两字,就不需要额外的段首全角特例。如果不使用段首缩进,一般会使用空行来区分段落,也不需要段首全角特例。

所以如果以space-first作为默认值是否会对中文排版有影响?

@ryukeikun
Copy link
Contributor

ryukeikun commented Jan 31, 2020

从中国大陆正统的正文排版习惯来说,的确不需要「段首全角」的特例。包括人民出版社、人民文学出版社等各大出版社,对于段首的引号均执行「半宽」的做法。

所以对应到此项,用trim-start即可满足要求中文排版需求。
目前的草案也注明 space-fist is not recommended for general authoring use. 所以有需要的日本用户可以使用此项,但中文不必。

@xfq
Copy link
Member

xfq commented Feb 7, 2020

In § 3.1.6.2 Compression of punctuation marks at line start or line end:

For the case of line head indent, if an opening bracket is set at the beginning of the first line of the paragraph, half a character space can be reduced ahead of the bracket.

With text-spacing: space-first, the "can be reduced" will become "must not be reduced", so it does not conform to the typographic conventions in Mainland China.

Closing this issue.

@xfq xfq closed this as completed Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants