Skip to content

fix(kimi-ppt): block text overflow before rendering - #307

Merged
wisdomqin merged 2 commits into
dataelement:mainfrom
SuperstructureJH:codex/fix-ppt-text-overflow
Sep 5, 2026
Merged

fix(kimi-ppt): block text overflow before rendering#307
wisdomqin merged 2 commits into
dataelement:mainfrom
SuperstructureJH:codex/fix-ppt-text-overflow

Conversation

@SuperstructureJH

Copy link
Copy Markdown
Contributor

Summary

  • replace the bundled Kimi PPT core with a build that evaluates text layout before rendering
  • calculate overflow from glyph width, explicit line breaks, wrapping, font size, line height, letter spacing, bold weight, text direction, and text-box geometry
  • fail pptd_render with actionable text-overflow errors and preserve the authored font size instead of silently shrinking text
  • keep the existing 22-template Kimi-only catalog and adapter boundary unchanged

Verification

  • source overflow and template-contract tests: 32/32 passed
  • Kimi Host and Client bundle: passed
  • Desktop Kimi/release tests: 34/34 passed
  • Desktop complete suite: 701/701 passed across 84 files
  • npm run typecheck: passed
  • npm run build: passed
  • git diff --check: passed

Acceptance boundary

  • Implementation and automated package/build verification are complete.
  • A fresh model-authored deck, rendered-slide visual review, and PowerPoint/WPS edit-save-reopen remain NOT_RUN.
  • This PR is independent from fix(packaging): include Windows hidden console helper #305; template/version cleanup stays in that separate PR scope.

@wisdomqin
wisdomqin merged commit 2668842 into dataelement:main Sep 5, 2026
6 checks passed
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.

2 participants