Skip to content

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

feat(confirm-ui): expand font choices and sync body preview

hugohe3a0dc361feb2a
diff --git a/skills/ppt-master/scripts/confirm_ui/static/app.js b/skills/ppt-master/scripts/confirm_ui/static/app.js
index 273ebddb..eb05b7ea 100644
--- a/skills/ppt-master/scripts/confirm_ui/static/app.js
+++ b/skills/ppt-master/scripts/confirm_ui/static/app.js
@@ -2462,11 +2462,13 @@
bodyEnglish.style.display = isEnglishProject() ? "none" : "";
accentBar.style.background = acc;
content.style.color = txt;
+ content.style.fontFamily = bodyPrimaryStack || "";
content.innerHTML = stylePreviewContentMarkup(STATE.icons);
chip.style.background = sbg;
chipDot.style.background = sacc;
chipLabel.textContent = t("role_secondary_bg");
chipLabel.style.color = txt;
+ chipLabel.style.fontFamily = bodyPrimaryStack || "";
}
refreshStylePreview = paint;
paint();
diff --git a/skills/ppt-master/scripts/confirm_ui/static/catalogs.json b/skills/ppt-master/scripts/confirm_ui/static/catalogs.json
index 406d0b3e..76e69ec8 100644
--- a/skills/ppt-master/scripts/confirm_ui/static/catalogs.json
+++ b/skills/ppt-master/scripts/confirm_ui/static/catalogs.json
@@ -123,6 +123,18 @@
"css": "sans-serif",
"availability": "office-safe"
},
+ {
+ "id": "STXihei",
+ "label": "STXihei",
+ "label_zh": "华文细黑",
+ "label_en": "STXihei",
+ "label_ja": "STXihei",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-cloud"
+ },
{
"id": "SimHei",
"label": "SimHei",
@@ -147,6 +159,30 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "NSimSun",
+ "label": "NSimSun",
+ "label_zh": "新宋体",
+ "label_en": "NSimSun",
+ "label_ja": "NSimSun",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "STZhongsong",
+ "label": "STZhongsong",
+ "label_zh": "华文中宋",
+ "label_en": "STZhongsong",
+ "label_ja": "STZhongsong",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
{
"id": "FangSong",
"label": "FangSong",
@@ -159,6 +195,18 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "STFangsong",
+ "label": "STFangsong",
+ "label_zh": "华文仿宋",
+ "label_en": "STFangsong",
+ "label_ja": "STFangsong",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
{
"id": "KaiTi",
"label": "KaiTi",
@@ -171,6 +219,42 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "STKaiti",
+ "label": "STKaiti",
+ "label_zh": "华文楷体",
+ "label_en": "STKaiti",
+ "label_ja": "STKaiti",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
+ {
+ "id": "STXingkai",
+ "label": "STXingkai",
+ "label_zh": "华文行楷",
+ "label_en": "STXingkai",
+ "label_ja": "STXingkai",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
+ {
+ "id": "STXinwei",
+ "label": "STXinwei",
+ "label_zh": "华文新魏",
+ "label_en": "STXinwei",
+ "label_ja": "STXinwei",
+ "locales": ["zh-CN", "zh-SG", "zh-Hans"],
+ "scripts": ["Hans"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
{
"id": "Microsoft JhengHei",
"label": "Microsoft JhengHei",
@@ -195,6 +279,42 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "MingLiU",
+ "label": "MingLiU",
+ "label_zh": "细明体",
+ "label_en": "MingLiU",
+ "label_ja": "MingLiU",
+ "locales": ["zh-TW", "zh-HK", "zh-MO", "zh-Hant"],
+ "scripts": ["Hant"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "MingLiU_HKSCS",
+ "label": "MingLiU_HKSCS",
+ "label_zh": "细明体 HKSCS",
+ "label_en": "MingLiU HKSCS",
+ "label_ja": "MingLiU HKSCS",
+ "locales": ["zh-HK", "zh-Hant"],
+ "scripts": ["Hant"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "office-cloud"
+ },
+ {
+ "id": "DFKai-SB",
+ "label": "DFKai-SB",
+ "label_zh": "标楷体",
+ "label_en": "DFKai-SB",
+ "label_ja": "DFKai-SB",
+ "locales": ["zh-TW", "zh-HK", "zh-MO", "zh-Hant"],
+ "scripts": ["Hant"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
{
"id": "Yu Gothic",
"label": "Yu Gothic",
@@ -219,6 +339,54 @@
"css": "sans-serif",
"availability": "office-safe"
},
+ {
+ "id": "BIZ UDGothic",
+ "label": "BIZ UDGothic",
+ "label_zh": "BIZ UD哥特体",
+ "label_en": "BIZ UDGothic",
+ "label_ja": "BIZ UDゴシック",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "BIZ UDPGothic",
+ "label": "BIZ UDPGothic",
+ "label_zh": "BIZ UDP哥特体",
+ "label_en": "BIZ UDPGothic",
+ "label_ja": "BIZ UDPゴシック",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "MS Gothic",
+ "label": "MS Gothic",
+ "label_zh": "MS 哥特体",
+ "label_en": "MS Gothic",
+ "label_ja": "MS ゴシック",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "MS PGothic",
+ "label": "MS PGothic",
+ "label_zh": "MS P哥特体",
+ "label_en": "MS PGothic",
+ "label_ja": "MS Pゴシック",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
{
"id": "Yu Mincho",
"label": "Yu Mincho",
@@ -231,6 +399,54 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "BIZ UDMincho Medium",
+ "label": "BIZ UDMincho Medium",
+ "label_zh": "BIZ UD明朝 Medium",
+ "label_en": "BIZ UDMincho Medium",
+ "label_ja": "BIZ UD明朝 Medium",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "BIZ UDPMincho Medium",
+ "label": "BIZ UDPMincho Medium",
+ "label_zh": "BIZ UDP明朝 Medium",
+ "label_en": "BIZ UDPMincho Medium",
+ "label_ja": "BIZ UDP明朝 Medium",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "MS Mincho",
+ "label": "MS Mincho",
+ "label_zh": "MS 明朝体",
+ "label_en": "MS Mincho",
+ "label_ja": "MS 明朝",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "MS PMincho",
+ "label": "MS PMincho",
+ "label_zh": "MS P明朝体",
+ "label_en": "MS PMincho",
+ "label_ja": "MS P明朝",
+ "locales": ["ja-JP"],
+ "scripts": ["Jpan"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
{
"id": "Malgun Gothic",
"label": "Malgun Gothic",
@@ -243,6 +459,42 @@
"css": "sans-serif",
"availability": "office-safe"
},
+ {
+ "id": "Microsoft GothicNeo",
+ "label": "Microsoft GothicNeo",
+ "label_zh": "Microsoft GothicNeo",
+ "label_en": "Microsoft GothicNeo",
+ "label_ja": "Microsoft GothicNeo",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-cloud"
+ },
+ {
+ "id": "Dotum",
+ "label": "Dotum",
+ "label_zh": "Dotum",
+ "label_en": "Dotum",
+ "label_ja": "Dotum",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Gulim",
+ "label": "Gulim",
+ "label_zh": "Gulim",
+ "label_en": "Gulim",
+ "label_ja": "Gulim",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
{
"id": "Batang",
"label": "Batang",
@@ -255,6 +507,222 @@
"css": "serif",
"availability": "office-safe"
},
+ {
+ "id": "Gungsuh",
+ "label": "Gungsuh",
+ "label_zh": "Gungsuh",
+ "label_en": "Gungsuh",
+ "label_ja": "Gungsuh",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "BatangChe",
+ "label": "BatangChe",
+ "label_zh": "BatangChe",
+ "label_en": "BatangChe",
+ "label_ja": "BatangChe",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "DotumChe",
+ "label": "DotumChe",
+ "label_zh": "DotumChe",
+ "label_en": "DotumChe",
+ "label_ja": "DotumChe",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "monospace",
+ "css": "monospace",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "GulimChe",
+ "label": "GulimChe",
+ "label_zh": "GulimChe",
+ "label_en": "GulimChe",
+ "label_ja": "GulimChe",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "monospace",
+ "css": "monospace",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "GungsuhChe",
+ "label": "GungsuhChe",
+ "label_zh": "GungsuhChe",
+ "label_en": "GungsuhChe",
+ "label_ja": "GungsuhChe",
+ "locales": ["ko-KR"],
+ "scripts": ["Kore"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Arabic Typesetting",
+ "label": "Arabic Typesetting",
+ "label_zh": "Arabic Typesetting",
+ "label_en": "Arabic Typesetting",
+ "label_ja": "Arabic Typesetting",
+ "locales": ["ar", "fa", "ur"],
+ "scripts": ["Arab"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Sakkal Majalla",
+ "label": "Sakkal Majalla",
+ "label_zh": "Sakkal Majalla",
+ "label_en": "Sakkal Majalla",
+ "label_ja": "Sakkal Majalla",
+ "locales": ["ar", "fa", "ur"],
+ "scripts": ["Arab"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Urdu Typesetting",
+ "label": "Urdu Typesetting",
+ "label_zh": "Urdu Typesetting",
+ "label_en": "Urdu Typesetting",
+ "label_ja": "Urdu Typesetting",
+ "locales": ["ur", "ar", "fa"],
+ "scripts": ["Arab"],
+ "category": "calligraphic",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Gisha",
+ "label": "Gisha",
+ "label_zh": "Gisha",
+ "label_en": "Gisha",
+ "label_ja": "Gisha",
+ "locales": ["he"],
+ "scripts": ["Hebr"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "David",
+ "label": "David",
+ "label_zh": "David",
+ "label_en": "David",
+ "label_ja": "David",
+ "locales": ["he"],
+ "scripts": ["Hebr"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "FrankRuehl",
+ "label": "FrankRuehl",
+ "label_zh": "FrankRuehl",
+ "label_en": "FrankRuehl",
+ "label_ja": "FrankRuehl",
+ "locales": ["he"],
+ "scripts": ["Hebr"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Nirmala UI",
+ "label": "Nirmala UI",
+ "label_zh": "Nirmala UI",
+ "label_en": "Nirmala UI",
+ "label_ja": "Nirmala UI",
+ "locales": ["hi", "mr", "ne"],
+ "scripts": ["Deva"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Mangal",
+ "label": "Mangal",
+ "label_zh": "Mangal",
+ "label_en": "Mangal",
+ "label_ja": "Mangal",
+ "locales": ["hi", "mr", "ne"],
+ "scripts": ["Deva"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Aparajita",
+ "label": "Aparajita",
+ "label_zh": "Aparajita",
+ "label_en": "Aparajita",
+ "label_ja": "Aparajita",
+ "locales": ["hi", "mr", "ne"],
+ "scripts": ["Deva"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Kokila",
+ "label": "Kokila",
+ "label_zh": "Kokila",
+ "label_en": "Kokila",
+ "label_ja": "Kokila",
+ "locales": ["hi", "mr", "ne"],
+ "scripts": ["Deva"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Leelawadee UI",
+ "label": "Leelawadee UI",
+ "label_zh": "Leelawadee UI",
+ "label_en": "Leelawadee UI",
+ "label_ja": "Leelawadee UI",
+ "locales": ["th"],
+ "scripts": ["Thai"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Angsana New",
+ "label": "Angsana New",
+ "label_zh": "Angsana New",
+ "label_en": "Angsana New",
+ "label_ja": "Angsana New",
+ "locales": ["th"],
+ "scripts": ["Thai"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "windows-language-feature"
+ },
+ {
+ "id": "Cordia New",
+ "label": "Cordia New",
+ "label_zh": "Cordia New",
+ "label_en": "Cordia New",
+ "label_ja": "Cordia New",
+ "locales": ["th"],
+ "scripts": ["Thai"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows-language-feature"
+ },
{
"id": "Aptos",
"label": "Aptos",
@@ -262,7 +730,7 @@
"label_en": "Aptos",
"label_ja": "Aptos",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
"category": "sans-serif",
"css": "sans-serif",
"availability": "office-safe"
@@ -274,7 +742,7 @@
"label_en": "Arial",
"label_ja": "Arial",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr"],
"category": "sans-serif",
"css": "sans-serif",
"availability": "office-safe"
@@ -286,7 +754,7 @@
"label_en": "Calibri",
"label_ja": "Calibri",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr"],
"category": "sans-serif",
"css": "sans-serif",
"availability": "office-safe"
@@ -298,11 +766,83 @@
"label_en": "Segoe UI",
"label_ja": "Segoe UI",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr"],
"category": "sans-serif",
"css": "sans-serif",
"availability": "office-safe"
},
+ {
+ "id": "Verdana",
+ "label": "Verdana",
+ "label_zh": "Verdana",
+ "label_en": "Verdana",
+ "label_ja": "Verdana",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Tahoma",
+ "label": "Tahoma",
+ "label_zh": "Tahoma",
+ "label_en": "Tahoma",
+ "label_ja": "Tahoma",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr", "Thai"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Trebuchet MS",
+ "label": "Trebuchet MS",
+ "label_zh": "Trebuchet MS",
+ "label_en": "Trebuchet MS",
+ "label_ja": "Trebuchet MS",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Candara",
+ "label": "Candara",
+ "label_zh": "Candara",
+ "label_en": "Candara",
+ "label_ja": "Candara",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Corbel",
+ "label": "Corbel",
+ "label_zh": "Corbel",
+ "label_en": "Corbel",
+ "label_ja": "Corbel",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Bahnschrift",
+ "label": "Bahnschrift",
+ "label_zh": "Bahnschrift",
+ "label_en": "Bahnschrift",
+ "label_ja": "Bahnschrift",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "sans-serif",
+ "css": "sans-serif",
+ "availability": "windows"
+ },
{
"id": "Georgia",
"label": "Georgia",
@@ -310,7 +850,7 @@
"label_en": "Georgia",
"label_ja": "Georgia",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
"category": "serif",
"css": "serif",
"availability": "office-safe"
@@ -322,7 +862,7 @@
"label_en": "Times New Roman",
"label_ja": "Times New Roman",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr"],
"category": "serif",
"css": "serif",
"availability": "office-safe"
@@ -334,7 +874,19 @@
"label_en": "Cambria",
"label_ja": "Cambria",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "serif",
+ "css": "serif",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Constantia",
+ "label": "Constantia",
+ "label_zh": "Constantia",
+ "label_en": "Constantia",
+ "label_ja": "Constantia",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
"category": "serif",
"css": "serif",
"availability": "office-safe"
@@ -346,7 +898,19 @@
"label_en": "Consolas",
"label_ja": "Consolas",
"locales": ["en", "und-Latn"],
- "scripts": ["Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek"],
+ "category": "monospace",
+ "css": "monospace",
+ "availability": "office-safe"
+ },
+ {
+ "id": "Courier New",
+ "label": "Courier New",
+ "label_zh": "Courier New",
+ "label_en": "Courier New",
+ "label_ja": "Courier New",
+ "locales": ["en", "und-Latn"],
+ "scripts": ["Latn", "Cyrl", "Grek", "Arab", "Hebr"],
"category": "monospace",
"css": "monospace",
"availability": "office-safe"