شعار Font Embedding And Fallbacks

Font Embedding And Fallbacks

المجتمع
andreworia
font-embedding-and-fallbacks

يضمّن خطوط العلامة التجارية في ملف .pptx ويضبط مجموعة خطوط احتياطية كي لا يتغير تنسيق العرض التقديمي على جهاز لا تتوفر عليه هذه الخطوط. لا يُستخدم لاختيار الخطوط أو أحجامها.

نظرة عامة

الناشرandreworia
المستودعclaude-pptx-skills
اسم المهارةfont-embedding-and-fallbacks
النجوم
4
التفريعات
2
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها andreworia على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Font Embedding And Fallbacks في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreworia/claude-pptx-skills.git /tmp/claude-pptx-skills
mkdir -p .claude/skills
cp -r /tmp/claude-pptx-skills/skills/font-embedding-and-fallbacks .claude/skills/font-embedding-and-fallbacks
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Font Embedding And Fallbacks في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Font Embedding And Fallbacks تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Font Embedding And Fallbacks بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Font Embedding and Fallbacks

When to use

Use this skill when a deck looks right on the machine it was built on and wrong somewhere else: titles wrapping onto a second line, text overflowing its box, tracking suddenly loose, or a licensed brand font silently replaced by Calibri or Times. Also use it before any deck leaves the building — client, printer, conference AV desk. Do not use it to pick fonts or sizes; theme-font-and-type-scale-enforcer does that, and this skill assumes the typefaces are already agreed.

What it does

It decides whether to embed, substitute, or outline the fonts, applies the chosen route, and records a documented fallback so the failure is predictable instead of random. The output is an embedding decision per typeface plus a fallback stack written into the theme.

Method

1. Understand why the deck reflows. PowerPoint stores a typeface name, not the typeface. On a machine without that font installed, the operating system substitutes another one. Different fonts have different advance widths, so text that fitted on one line now takes two, a placeholder overflows, and a carefully aligned slide breaks. Nothing is corrupt; the file simply never carried the font.

2. Inventory what the deck actually uses. Two sources, and they disagree more often than people expect:

  • The theme's major (heading) and minor (body) fonts, in ppt/theme/theme1.xml under <a:majorFont> and <a:minorFont>. Each carries a latin, ea (East Asian) and cs (complex script) typeface — a deck with CJK or Arabic content resolves through the ea/cs entries, not the Latin one.
  • Direct overrides applied to individual runs, which bypass the theme entirely. These are the ones that surprise people, because the theme looks clean.

On Windows, Home > Replace > Replace Fonts lists every font name actually referenced in the file. That list, not the theme, is the inventory.

3. Check that each font may legally be embedded. Fonts carry an embedding permission set by the foundry, exposed as four levels: Non-embeddable (restricted licence), Preview/Print (the reader can view and print but not edit the text), Editable, and Installable. PowerPoint honours these. A restricted font will refuse to embed and warn you on save; a Preview/Print font will embed but leave recipients unable to edit that text. Check the licence before promising a client an editable deck in a commercial typeface — many foundry desktop licences do not include document embedding at all.

Format matters too. Embed OpenType (.otf) or TrueType (.ttf). PostScript Type 1 (.pfb/.pfm) cannot be embedded; if the brand font is only supplied as Type 1, obtain the OpenType cut or accept substitution.

4. Embed. On Windows: File > Options > Save, then under Preserve fidelity when sharing this presentation tick Embed fonts in the file, and choose between:

  • Embed only the characters used in the presentation — smaller file, but recipients cannot type new characters in that font. Right for a final, read-only deck.
  • Embed all characters (best for editing by other people) — larger file, fully editable downstream. Right for a template or anything a client will edit.

On macOS the feature exists in Microsoft 365 for Mac, PowerPoint 2024 for Mac and PowerPoint 2021 for Mac, under PowerPoint > Settings (Preferences) > Save, with the same two options. Older Mac builds cannot embed. Because Mac support arrived late and has historically been the weaker path, treat a Mac-produced deck as needing an explicit check rather than assuming embedding worked.

The setting is per-file and applies on save, so tick it and then save — it does not retro-embed a file you only opened.

5. Verify the embed actually happened. File size is the first tell: embedding a full-character weight typically adds hundreds of kilobytes per weight. To confirm properly, copy the file, rename the copy to .zip, open it, and look for a ppt/fonts/ folder containing .fntdata parts — one per embedded weight and style — with a matching <p:embeddedFontLst> in ppt/presentation.xml. No folder, no embedding, whatever the checkbox says.

6. Set a documented fallback for the cases embedding cannot cover. Embedding fails on: restricted fonts, Google Slides and Keynote imports, PowerPoint for the web, and any recipient on an older build. So decide in advance what the deck degrades to, and set it as the theme font rather than leaving it to the OS. Metric-compatible pairs reflow least because their advance widths match:

Brand fontMetric-compatible fallback
CalibriCarlito
CambriaCaladea
Arial / HelveticaLiberation Sans
Times New RomanLiberation Serif
Courier NewLiberation Mono

Where no metric twin exists, pick the closest widely installed face with similar x-height and width — Arial or Helvetica for a geometric or neo-grotesque sans, Georgia for a transitional serif — and test it, because a fallback with a larger x-height will still overflow. Aptos is now the Microsoft 365 default and is not present on older installs, so a deck that depends on it needs the same treatment as any licensed font.

7. Outline only as a last resort. For a cover slide or a wordmark in a font that cannot be embedded, convert the text to shapes (Format Shape > Merge Shapes > Union on a duplicated text box, or supply a vector asset). Outlined text is pixel-perfect and permanently uneditable, unsearchable, and invisible to screen readers, so use it for a handful of display words, never for body copy.

8. Test on a clean machine. The only real proof is opening the deck where the font is not installed. Check the slides with the tightest titles and the longest bullets first.

Inputs

  • The deck, and the brand's heading and body typefaces.
  • The font licence terms, or confirmation that embedding is permitted.
  • Where the deck is going: PowerPoint desktop, web, Google Slides, Keynote, print.
  • Whether recipients need to edit the text.

Output format

  • The font inventory: every typeface referenced, from theme and from direct overrides.
  • Per font: embeddable yes/no, and at which permission level.
  • The embed setting chosen (used characters vs all characters) and why.
  • The fallback stack written into the theme.
  • Verification: ppt/fonts/ present, and the clean-machine test result.

Example

Input: a 30-slide client deck set in a licensed foundry sans, produced on a Mac, going to a client who will edit it.

Output:

  • Inventory: brand sans (headings and body, via theme), plus stray Calibri on slides 7 and 19 from pasted text.
  • Licence: brand sans is Editable-embeddable; permitted under the firm's desktop licence.
  • Embed: all characters, because the client will edit. PowerPoint > Settings > Save, saved, verified ppt/fonts/ contains four .fntdata parts (regular, bold, italic, bold-italic).
  • Stray Calibri rebound to the theme minor font.
  • Fallback: theme minor font set with Arial as the documented substitute; longest title on slide 22 tested against it and shortened by two words so it holds one line either way.
  • Clean-machine test: opened on a Windows laptop without the brand font; layout held.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Font Embedding And Fallbacks؟

يضمّن خطوط العلامة التجارية في ملف .pptx ويضبط مجموعة خطوط احتياطية كي لا يتغير تنسيق العرض التقديمي على جهاز لا تتوفر عليه هذه الخطوط. لا يُستخدم لاختيار الخطوط أو أحجامها.

لماذا تستخدم Font Embedding And Fallbacks على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Font Embedding And Fallbacks عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Font Embedding And Fallbacks في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Font Embedding And Fallbacks؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Font Embedding And Fallbacks؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Font Embedding And Fallbacks معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Font Embedding And Fallbacks مجانية؟

نعم. نشرها andreworia على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇