Skip to content

task 1189: task 1139 후속 미주/수식 정합 보정#1194

Merged
edwardkim merged 6 commits into
edwardkim:develfrom
jangster77:task_m100_1189
May 31, 2026
Merged

task 1189: task 1139 후속 미주/수식 정합 보정#1194
edwardkim merged 6 commits into
edwardkim:develfrom
jangster77:task_m100_1189

Conversation

@jangster77

@jangster77 jangster77 commented May 31, 2026

Copy link
Copy Markdown
Collaborator

변경 내용

  • 3-09월_교육_통합_2023.hwp 19쪽 미주 흐름에서 문29) 꼬리 내용이 페이지 하단으로 밀리는 문제를 보정했습니다.
  • 3-11월_실전_통합_2022.hwp 10~12쪽, 14쪽, 17쪽의 미주 수식 흐름과 문28)/문19) 정합 문제를 후속 보정했습니다.
  • 미주 영역 드래그 선택이 한컴오피스 기준과 맞도록 선택 rect 계산을 보완했습니다.
  • 3-11월_실전_통합_2022.hwp 1쪽 문1) 앞의 보이지 않는 U+FFFC 인라인 객체 placeholder가 텍스트 폭에 포함되어 첫 수식이 오른쪽으로 밀리던 문제를 수정했습니다.

원인

  • HWP5 인라인 컨트롤 placeholder가 SVG 출력에서는 보이지 않지만 일부 텍스트 측정 경로에서는 폭을 차지했습니다.
  • compact 미주 흐름에서 하단 fit, 큰 수식 줄 되감기, 수식-only 미주 문단 marker 합성 조건이 한컴/PDF 기준과 일부 달랐습니다.
  • 변화표 수식 안의 SEARROW/NEARROW 토큰이 화살표 기호로 매핑되지 않는 케이스가 있었습니다.

검증

  • cargo fmt --all --check
  • cargo test --test issue_1139_inline_picture_duplicate -- --nocapture
  • cargo test --tests
  • wasm-pack build --target web --out-dir pkg
  • PDF 비교 산출물은 output/task1189_* 아래에 생성해 확인했습니다. SVG→PNG 변환은 rsvg-convert 기준입니다.

Closes #1189

3-09월_교육_통합_2023 19쪽 미주 흐름과 3-11월_실전_통합_2022 10~12쪽/14쪽/17쪽 후속 정합을 보정했다.

수식 렌더링 Y축 스케일 과적용을 제거하고, HWP 변화표 대문자 대각 화살표 토큰을 매핑했다.

검증: cargo fmt --all --check; git diff --check; cargo test --test issue_1139_inline_picture_duplicate -- --nocapture; cargo test --tests; wasm-pack build --target web --out-dir pkg
U+FFFC 인라인 객체 placeholder를 텍스트 폭에서 제외해 3-11월 실전 통합 2022 1쪽 문1) 수식 위치를 PDF/한컴 기준에 맞춘다.

검증: cargo test --test issue_1139_inline_picture_duplicate -- --nocapture

검증: cargo test --tests

검증: wasm-pack build --target web --out-dir pkg
@edwardkim edwardkim self-requested a review May 31, 2026 22:26
@edwardkim edwardkim added the enhancement New feature or request label May 31, 2026
@edwardkim edwardkim added this to the v1.0.0 milestone May 31, 2026
@edwardkim edwardkim merged commit 6f42d20 into edwardkim:devel May 31, 2026
7 checks passed
edwardkim added a commit that referenced this pull request May 31, 2026
edwardkim added a commit that referenced this pull request May 31, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
edwardkim added a commit that referenced this pull request May 31, 2026
…m fallback 추적

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants