Skip to content

fix: preserve pptx no-wrap auto-fit title spacing#174

Merged
developer0hye merged 1 commit intomainfrom
fix/pptx-slide2-title-overlap
Mar 14, 2026
Merged

fix: preserve pptx no-wrap auto-fit title spacing#174
developer0hye merged 1 commit intomainfrom
fix/pptx-slide2-title-overlap

Conversation

@developer0hye
Copy link
Copy Markdown
Owner

What changed

  • allow fixed PPTX text boxes with both no-wrap and auto-fit enabled to use the single-line scale-to-fit path
  • add regression coverage for tight no-wrap auto-fit title boxes so the scaled Typst output matches the intended fixed-height PPT box

Why

  • a classified PPTX fixture regressed on slide 2 where a no-wrap auto-fit title rendered too tall and overlapped the first list item

Validation

  • cargo test --offline -p office2pdf fixed_page_textbox_tests
  • rebuilt the CLI and regenerated the classified fixture PDF for visual verification of slide 2

Related: #111

Signed-off-by: Yonghye Kwon <developer.0hye@gmail.com>
@developer0hye developer0hye merged commit b157d5e into main Mar 14, 2026
13 of 14 checks passed
@developer0hye developer0hye deleted the fix/pptx-slide2-title-overlap branch March 14, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant