15m7 成书封页贪心fill 95→100 (用户: 一点点加, 封页往正文后面多写一点)
Auto Release / build (push) Successful in 4m29s

This commit is contained in:
youpaishidifu
2026-11-23 11:45:46 +08:00
parent 025df6ed04
commit 01538b570b
@@ -394,9 +394,9 @@ public class CustomScreenManager implements Listener {
// 封页只填 20 字孤稀。改贪心 fill 直接取前 85 字(残句续下一页),封页满屏。 // 封页只填 20 字孤稀。改贪心 fill 直接取前 85 字(残句续下一页),封页满屏。
// 正文页仍用 findSemanticCut 语义切(不劈词)。 // 正文页仍用 findSemanticCut 语义切(不劈词)。
if (!body.isEmpty()) { if (!body.isEmpty()) {
// 15m6 封页贪心 fill 95: 85满屏后用户要再大一点点(一次加10, 慢慢找合适大小) // 15m7 封页贪心 fill 100: 95→100 一次加5(用户节奏: 一点点加, 慢慢找合适大小)
// 残句续第2页, 末字劈词可接受, 残句交中间孤短页合并130兜底 // 封页切点固定=此字数, 调大=封页往正文后面多写一点
int cut = Math.min(body.length(), 95); int cut = Math.min(body.length(), 100);
pages.add(body.substring(0, cut)); pages.add(body.substring(0, cut));
body = body.substring(cut); body = body.substring(cut);