-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
[Feature Ticket] Refactor paragraph layout #1582
Comments
justify
and other features
Origin Title: [Feature Ticket] Refactor paragraph layout Title: [Feature Ticket] Refactor paragraph layout [Feature Ticket] Refactor paragraph layoutAssignees:
ShapingResourcesProblemIn order to achieve subsequent functional requirements, such as paragraph align (left, center, right), justify, etc., the first line of the paragraph is indented, suspended, etc. Therefore, some adjustments and reconstructions have been made to the paragraph layout of Doc through this requirement. Time BudgetThis ticket is expected to be completed in 4 weeks, released in version 0.1.5, around Apr 15th. SolutionImplement the specifications on "inline text formatting processing" in [W3C Chinese Typesetting Requirements] (https://www.w3.org/TR/clreq/) and align the Word paragraph typesetting function. The specific functions that need to be implemented and aligned are as follows:
Rabbit HolesNo-gos
BuildingResourcesTODOs
|
[Feature Ticket] Refactor paragraph layout
Assignees:
Shaping
Resources
Problem
为了实现后续功能需求,比如段落align(left、center、right)、justify 等,段落的首行缩进、悬挂等。因此通过本需求对 Doc 的段落排版做出一些调整和重构
Time Budget
This ticket is expected to be completed in 4 weeks, released in version 0.1.5, around Apr 15th.
Solution
实现W3C 中文排版需求中关于“行内文字排版处理”的规范,对齐 Word 段落排版功能,具体需要实现和对齐的功能如下:
1. 连续标点符号的调整:如果任意两个相邻标点符号占用2个字宽,应当缩减成1.5个字宽。在此原则上,允许排版风格进一步调整让两个符号只占1个字宽;
2. 行首行尾标点挤压:原本占一个字宽的标点出现在行尾时,应缩减该符号末侧二分之一个汉字大小的空白;
Rabbit Holes
No-gos
Building
Resources
TODOs
The text was updated successfully, but these errors were encountered: