AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(executor): font size is skin, not inherited template geometry
hugohe35a23a012cda9
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex 00edca25..43b65ee8 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -39,7 +39,9 @@ Resolve the per-page template SVG via `spec_lock.md page_layouts` (authoritative> Note: `page_layouts` disambiguates the multiple content variants modern templates ship (e.g., `graduation_defense` has 8); the legacy table cannot.-**Templates supply structure, not skin (non-mirror)**: a chart or layout template's gradients, drop-shadows, and palette are placeholder. Inherit its geometry, label / legend placement, and series-encoding logic; re-skin every fill / stroke to the deck's `visual_style` + `spec_lock.colors` — flat styles strip the gradients and shadows, gradient / glass styles repaint their own. Forbidden — shipping a template's default `<linearGradient>` / `cardShadow` / Tailwind fills unchanged. Mirror templates are the exception: §1.1 preserves their visuals verbatim.+**Templates supply structure, not skin (non-mirror)**: a chart or layout template's gradients, drop-shadows, palette, **and font sizes** are placeholder. Inherit its geometry, label / legend placement, and series-encoding logic; re-skin every fill / stroke to the deck's `visual_style` + `spec_lock.colors` — flat styles strip the gradients and shadows, gradient / glass styles repaint their own. Forbidden — shipping a template's default `<linearGradient>` / `cardShadow` / Tailwind fills unchanged. Mirror templates are the exception: §1.1 preserves their visuals verbatim.++**Font size is skin, not geometry (non-mirror).** A chart / layout template's hardcoded `font-size` values (often 11–16px, sized for the template's own dense placeholder text) are NOT inherited — re-derive every text size from the `spec_lock.md` role sizes (`body` / `title` / `subtitle` / `annotation` / any role-specific slot), exactly as you re-skin color. The spec is the authority: text renders at its spec_lock role size, and **geometry adapts to the type, never the reverse.** When the spec_lock size is larger than the template's placeholder text, widen / heighten the card, open up spacing, recompute child `y` / `dy`, or drop an item to keep the page breathing — do not shrink the font to fit the inherited container. Only when a block genuinely cannot fit *after* the geometry has been reflowed may you shrink **that block** slightly — typically **≤2pt** below its spec_lock role size, never deck-wide and never as the first move. (Mirror templates are the exception: §1.1 preserves their sizes verbatim — there the source deck's typography *is* the spec.)### 1.1 Mirror-mode templates — reference-style consumption