feat(layout): follow cached lines beside a square object on the paper - #363
Merged
airmang merged 2 commits intoOct 1, 2026
Merged
Conversation
A line reaching the band of a square-wrapped object placed on the paper with room beside it is set beside it, narrower, at the same height and spacing (two pieces at one height with room on both sides), in the paragraph before its anchor too. A line keeping its layout cache is therefore followed where it is; a line without one, a table or an object reaching the band is still not followed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
airmang
deleted the
feat/page-estimate-cached-lines-beside-an-object-on-the-paper
branch
October 1, 2026 20:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
바뀐 점
쪽 수 추정(실험,
estimate_pages)이 곁에 자리를 남기는 종이·쪽 기준 어울림(SQUARE) 개체의 띠에 닿는 줄을, 그 줄이 줄 캐시를 가질 때 따른다.text beside an object placed on the paper)이었다._lay_section이 줄 캐시를 가진 문단에kept를 표시한다._Paginator는 그런 문단의 줄을 띠에 닿은 것으로 세지 않는다(_reach).테스트
tests/test_layout_page_estimate.py에 한/글 저장본 셋을 더한다. 모두 종이 위쪽을 기준으로 둔 어울림 그림 곁으로 긴 문단이 흐르는 문서다.pages_square_picture_on_paper_reaching_the_last_line)를 바꾼다. 캐시가 있으면 한/글과 같은 자리인지, 캐시가 없으면 지원 밖인지 확인한다.🤖 Generated with Claude Code