Skip to content

fix(pptx): carry font subset preference - #2354

Draft
Ap3pp3rs94 wants to merge 1 commit into
storytold:mainfrom
Ap3pp3rs94:fix/pptx-save-subset-fonts-followup
Draft

Ap3pp3rs94 wants to merge 1 commit into
storytold:mainfrom
Ap3pp3rs94:fix/pptx-save-subset-fonts-followup

Conversation

@Ap3pp3rs94

Copy link
Copy Markdown

DeckCraft now carries the PPTX embedded-font subsetting preference through its model instead of forcing it on for every deck.

Draft dependency gate: this follow-up requires storytold/craft-libs#3410 to merge and the craft-pptx revision to advance. This branch intentionally does not change the pinned revision, so it is not standalone-buildable yet.

Changes

  • Add Presentation::save_subset_fonts, default false.
  • Carry it in both directions between DeckCraft and craft-pptx.
  • Test false and true through export, import, and a second export.

Verification

Against DeckCraft's exact pinned shared-library revision with the craft-libs#3410 fix applied:

  • cargo test -p deckcraft-model -p deckcraft-pptx — 289 passed, 0 failed across all result blocks.
  • cargo clippy -p deckcraft-model -p deckcraft-pptx --all-targets -- -D warnings — passed.
  • cargo fmt --all --check — passed.
  • Rebuilt deckcraft-cli; a new deck omitted saveSubsetFonts, and an explicit saveSubsetFonts="1" survived a real PPTX conversion.

The unrelated chart-field drift on current craft-libs main was not pulled into this branch; verification used the exact pinned revision plus only the shared PPTX fix.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@autocraft-bot autocraft-bot Bot added the bugfix Fixes something that is broken: wrong result, crash, data loss label Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes something that is broken: wrong result, crash, data loss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant