Logo : Font Embedding And Fallbacks

Font Embedding And Fallbacks

Communauté
andreworia
font-embedding-and-fallbacks

Intègre les polices de la marque dans un fichier .pptx et définit une liste de polices de remplacement pour éviter que la mise en page de la présentation ne se réorganise sur un ordinateur qui ne les possède pas. Ne sert pas à choisir les polices ni leur échelle typographique.

Présentation

Éditeurandreworia
Dépôtclaude-pptx-skills
Nom de la compétencefont-embedding-and-fallbacks
Étoiles
4
Forks
2
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par andreworia sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Font Embedding And Fallbacks dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Font Embedding And Fallbacks dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Font Embedding And Fallbacks dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Font Embedding And Fallbacks n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence IA Font Embedding And Fallbacks ?

Intègre les polices de la marque dans un fichier .pptx et définit une liste de polices de remplacement pour éviter que la mise en page de la présentation ne se réorganise sur un ordinateur qui ne les possède pas. Ne sert pas à choisir les polices ni leur échelle typographique.

Pourquoi utiliser Font Embedding And Fallbacks sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Font Embedding And Fallbacks se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Font Embedding And Fallbacks dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Font Embedding And Fallbacks ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Font Embedding And Fallbacks ?

Autant que vous le souhaitez. Vous pouvez utiliser Font Embedding And Fallbacks avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Font Embedding And Fallbacks est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par andreworia sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇