feat(layout): page estimate for an object on the paper over some of the columns - #362
Merged
Merged
Conversation
…he columns An object placed top and bottom on the paper in columns of equal width keeps the lines out of its band only in the columns it reaches over (from the paper's left, centre or right, outer margins included); the other columns run past it. Such an object narrower than the text was unsupported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, at a column's edge, anchored in a later column Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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)이 같은 폭의 여러 단 쪽에서 종이 기준으로 둔 위아래 배치 개체를 한/글처럼 둔다.objects placed on the paper)이었다._paper_band가 개체가 걸치는 단을 함께 돌려주고,_lay_section은 그 단에만 띠를 둔다._columns_reached가 고른다. 종이의 왼쪽·가운데·오른쪽을 기준으로 둔 개체의 자리를 바깥 여백까지 쳐서 단마다 견준다._Page에 단 사이 간격(gap)을 더한다._columns가 같은 폭 단의 간격을 함께 돌려준다._paper_left로 뺀다._across_the_text도 이것을 쓴다.테스트
tests/test_layout_page_estimate.py에 한/글 저장본 아홉을 더한다(HANCOM_PAGES). 모두 2단 또는 3단 쪽 맨 위에 종이 기준으로 둔 개체다._columns가 단 사이 간격도 돌려주므로, 이것을 직접 부르는 기존 테스트 하나의 기대값을 고친다.🤖 Generated with Claude Code