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(fonts): resolve faces for the PowerPoint target
hugohe3fc9a029e7f1b
diff --git a/skills/ppt-master/references/shared-standards-core.md b/skills/ppt-master/references/shared-standards-core.mdindex 03269a42..d3190c2f 100644--- a/skills/ppt-master/references/shared-standards-core.md+++ b/skills/ppt-master/references/shared-standards-core.md@@ -596,9 +596,13 @@ Semantic markers are minimal compiler hints. Flat pages declare one root `data-p`width`/`height` do not override `viewBox`.Root `<svg>` transform is forbidden; nested crop and `<symbol viewBox>` keeptheir own contracts.-- **Font portability**: font families used by the deck must resolve to installed- export faces. `@font-face` remains forbidden; the typography contract lives in- [`strategist.md §g`](strategist.md).+- **Font portability**: resolve an explicit user/template delivery target first;+ otherwise default to Windows Microsoft PowerPoint with locale following the+ deck's primary language. Exported Latin/EA faces must be installed or approved+ on that target. The authoring host's fonts affect SVG preview and measurement+ only and MUST NOT select PPTX faces; a local counterpart may appear only as a+ preview tail that preserves the same export resolution. `@font-face` remains+ forbidden; the typography contract lives in [`strategist.md §g`](strategist.md).- **Icon placeholders**: `<use data-icon="library/name">` is a pipeline-specificform, distinct from local SVG reuse. Follow the contract in[`../templates/icons/README.md`](../templates/icons/README.md).diff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.mdindex e2685c18..47bb4b3c 100644--- a/skills/ppt-master/references/strategist.md+++ b/skills/ppt-master/references/strategist.md@@ -222,7 +222,7 @@ See [`../templates/icons/README.md`](../templates/icons/README.md) for the curre- User/template typography is authoritative. Repeat fixed stacks with `typography.fixed: true` in every direction; never vary them for diversity. Keep the three directions distinguishable as full bundles; reasonable font repetition is non-blocking, with no extra font round.- Every Stage-2 direction carries `heading` / `body` `primary`, `css`, and positive `body_size`; add `english` only when the deck's main language is not English.-- Use concrete, target-installed PowerPoint faces. The Confirm UI font catalog supplies additional manual dropdown choices, not a recommendation whitelist.+- Resolve the delivery target under [`shared-standards-core.md`](./shared-standards-core.md) §4.1, then use concrete, target-installed/approved PowerPoint faces. The Confirm UI font catalog supplies additional manual dropdown choices, not a recommendation whitelist.- Keep stacks to four families or fewer. A brand/web face may lead only after user-confirmed target installation/approved install; PPT Master does not embed fonts. Otherwise export a safe face and keep the unavailable face as Design Spec reference.- Avoid near-equivalent role splits such as YaHei↔PingFang, SimSun↔Songti, Arial↔Helvetica↔Segoe UI, or Times New Roman↔Times. Counterparts may aid SVG/browser preview; CSS tails are not deterministic PowerPoint fallbacks.- Choose by locked style and vary the axis: serif×sans, Kai/FangSong×hei, hei×song, double-serif, display×neutral, same-family weight, or sans+mono. These are recall seeds, not presets.diff --git a/skills/ppt-master/scripts/error_helper.py b/skills/ppt-master/scripts/error_helper.pyindex 19b3a5fc..14a8af83 100644--- a/skills/ppt-master/scripts/error_helper.py+++ b/skills/ppt-master/scripts/error_helper.py@@ -231,7 +231,7 @@ class ErrorHelper:'message': 'Forbidden web font (@font-face) detected','solutions': ['Remove @font-face declarations',- 'Use font-family stacks that export PPT-safe pre-installed typefaces',+ 'Use font-family stacks that export target-installed/approved PPT-safe typefaces','Example: font-family: "Microsoft YaHei", Arial, sans-serif'],'severity': 'error'@@ -257,8 +257,9 @@ class ErrorHelper:'invalid_font': {'message': 'Font stack exports non-PPT-safe typefaces to PPTX','solutions': [- 'Use stacks whose exported Latin / EA typefaces are pre-installed',- 'CJK: "Microsoft YaHei", sans-serif | SimSun, serif',+ 'Use stacks whose exported Latin / EA faces are installed or approved on the delivery target',+ 'Do not choose PPTX faces from the authoring host font inventory',+ 'CJK: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif | SimSun, "Noto Serif CJK SC", serif','Latin: Arial, sans-serif | "Times New Roman", serif','Mono: Consolas, "Courier New", monospace','See strategist.md §g for the full PPT-safe discipline'diff --git a/skills/ppt-master/scripts/svg_to_pptx/drawingml/utils.py b/skills/ppt-master/scripts/svg_to_pptx/drawingml/utils.pyindex 58b9d675..1c4d2f38 100644--- a/skills/ppt-master/scripts/svg_to_pptx/drawingml/utils.py+++ b/skills/ppt-master/scripts/svg_to_pptx/drawingml/utils.py@@ -57,7 +57,7 @@ EA_FONTS = {'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro','Hiragino Mincho Pro','Noto Sans SC', 'Noto Sans TC', 'Noto Serif SC', 'Noto Serif TC',- 'Noto Sans CJK SC',+ 'Noto Sans CJK SC', 'Noto Serif CJK SC','Noto Sans JP', 'Noto Serif JP', 'Noto Sans CJK JP','Source Han Sans SC', 'Source Han Sans TC','Source Han Serif SC', 'Source Han Serif TC',@@ -106,6 +106,7 @@ FONT_FALLBACK_WIN = {'Noto Sans CJK SC': 'Microsoft YaHei','Noto Sans TC': 'Microsoft JhengHei','Noto Serif SC': 'SimSun',+ 'Noto Serif CJK SC': 'SimSun','Noto Serif TC': 'PMingLiU',# Japanese: keep as-is if user specified (PowerPoint will fallback if uninstalled)# 'Noto Sans JP': → keep as 'Noto Sans JP' (do not map)diff --git a/skills/ppt-master/workflows/profiles/quick-generate.md b/skills/ppt-master/workflows/profiles/quick-generate.mdindex 20f7885a..9be6ef40 100644--- a/skills/ppt-master/workflows/profiles/quick-generate.md+++ b/skills/ppt-master/workflows/profiles/quick-generate.md@@ -265,7 +265,7 @@ the roster after the whole-roster check:- the narrative beats, mental-map arcs, candidate visible states, their semantic deltas, and enabled notes segments. Adopt continuity only when it clarifies the message. Profile-fixed count/order/content, including 1:1/fidelity, permits only existing-neighbor evaluation; never alter those invariants to manufacture endpoints;- the effective Speaker Notes, Custom Animations, and Narration Audio outcomes; narration requires notes, later recording alone forces neither audio nor object animation, while a Quick recorded/self-running/video delivery purpose follows [`video-design.md`](../../references/video-design.md) and enables Custom Animations before SVG authoring; direct narrated video additionally enables notes/narration/video and decides before audio whether narration governs group timing;- the resulting exact slide roster and one compact core message for every page, used to choose its composition and hierarchy;-- the canvas, visual direction, wording, intended viewing distance, and effective reading mode: choose `presentation` for distance-first projected or recorded viewing, `balanced` for mixed viewing, or `text` for close content-heavy reading. Take the initial body anchor and sanity band from [`canvas-formats.md`](../../references/canvas-formats.md) § "Typography Scale Start" for the resolved canvas—PPT remains reading-mode-driven, while registered/custom non-PPT canvases use their canvas-derived start—then resolve one concrete typography plan using installed font families, with stable size anchors for title, body, annotation, and every other recurring role the roster uses. When content does not fit, preserve its core message and apply only fitting actions the source/profile invariants permit—restructure, shorten, or split; if none is permitted, surface the unresolved fit instead of shrinking a recurring role. Explicit user, template, fidelity-profile, or resolved-style requirements may call for a deliberate exception;+- the canvas, visual direction, wording, intended viewing distance, and effective reading mode: choose `presentation` for distance-first projected or recorded viewing, `balanced` for mixed viewing, or `text` for close content-heavy reading. Take the initial body anchor and sanity band from [`canvas-formats.md`](../../references/canvas-formats.md) § "Typography Scale Start" for the resolved canvas—PPT remains reading-mode-driven, while registered/custom non-PPT canvases use their canvas-derived start—then resolve one concrete typography plan for the delivery target defined by [`shared-standards-core.md`](../../references/shared-standards-core.md) §4.1, never from the authoring host's font inventory, with stable size anchors for title, body, annotation, and every other recurring role the roster uses. When content does not fit, preserve its core message and apply only fitting actions the source/profile invariants permit—restructure, shorten, or split; if none is permitted, surface the unresolved fit instead of shrinking a recurring role. Explicit user, template, fidelity-profile, or resolved-style requirements may call for a deliberate exception;- the semantic color roles actually needed by the roster, each with a concrete active-context color anchor, including background/surface, primary/secondary text, dominant/accent, and status roles as applicable. Honor explicit user, installed template/brand, fidelity-profile source-identity, and resolved-style color semantics before deriving only the missing roles that the active profile permits; decide which roles dominate, support, or remain rare, and preserve sufficient contrast for meaning-bearing text. Pair newly authored color-coded states, categories, or relationships with a label, symbol, line, or geometry cue; when fidelity forbids adding one, preserve the source encoding;- an ordinary body-content frame and a density judgment for every page, adapted to the canvas and any user / template / style geometry; use `anchor`, `dense`, `breathing`, or an equivalent active-context distinction instead of one uniform fill level;- for each page not bound to literal supplied geometry, a primary visual zone and page-scale composition direction tied to its core message; use cards or equal grids when the content relationship calls for them, not as the automatic page grammar;