Skip to content

feat: Phase 8 — old vs new layout 비교 + 빈 페이지 fallback#174

Merged
ohah merged 1 commit intomainfrom
feat/doc-html-layout-phase8-refinement
Mar 18, 2026
Merged

feat: Phase 8 — old vs new layout 비교 + 빈 페이지 fallback#174
ohah merged 1 commit intomainfrom
feat/doc-html-layout-phase8-refinement

Conversation

@ohah
Copy link
Copy Markdown
Owner

@ohah ohah commented Mar 18, 2026

Summary

  • compare_old_vs_new_layout_html(): 46개 HWP fixture 파일 비교 테스트
  • 빈 PageDef(width=0) → A4 기본값 fallback
  • 섹션당 최소 1페이지 보장

현재 비교 결과

  • 46/46 파일 통과 (hpa div 존재 확인)
  • 대부분 파일에서 old/new 크기 유사 (구조적으로 hpa/hls/hcD 일치)
  • 일부 큰 차이: noori(778KB→118KB), software(495KB→13KB) — 표/이미지/도형 렌더링 개선 필요

Test plan

  • cargo test — 0 FAILED

🤖 Generated with Claude Code

- compare_old_vs_new_layout_html(): 46개 HWP 파일에 대해
  old viewer HTML과 new layout HTML을 /tmp에 저장하여 비교
- 빈 PageDef(width=0)일 때 A4 기본값 fallback
- 섹션당 최소 1페이지 보장 (빈 콘텐츠도 페이지 생성)
- options_test.rs layout 필드 추가

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ohah ohah added the enhancement New feature or request label Mar 18, 2026
@ohah ohah self-assigned this Mar 18, 2026
@ohah ohah merged commit cd41586 into main Mar 18, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant