You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Chinese line spacing is fixed at 1.4 times to avoid overlap. By implementing layout analysis, the line spacing can be appropriately increased, utilizing the current post-paragraph blank space to improve the visual appearance.
The text was updated successfully, but these errors were encountered:
My idea is to try to unify the line spacing as much as possible, and reduce the line spacing where it doesn't fit. For example, first calculate the maximum allowable line spacing page by page, then take the 90th percentile, and finally compress the remaining space. Consider using dynamic programming for calculating and reducing line spacing, as using greedy algorithms might yield poorer results. Of course, in the initial stage, a quick implementation using a greedy algorithm might be used to verify feasibility.
Maybe it can be done by word count, with the one having more words serving as the main text. Page independence is not a concern; it can be done in multiple stages, with as much parallel processing as possible within each stage, and serial processing between different stages.
Currently, the Chinese line spacing is fixed at 1.4 times to avoid overlap. By implementing layout analysis, the line spacing can be appropriately increased, utilizing the current post-paragraph blank space to improve the visual appearance.
The text was updated successfully, but these errors were encountered: