Logo Font Embedding And Fallbacks

Font Embedding And Fallbacks

Cộng đồng
andreworia
font-embedding-and-fallbacks

Nhúng phông chữ thương hiệu vào file .pptx và thiết lập danh sách phông chữ dự phòng để bố cục bản trình chiếu không bị xô lệch trên máy không có các phông chữ đó. Không dùng để chọn kiểu chữ hoặc tỷ lệ cỡ chữ.

Tổng quan

Nhà phát hànhandreworia
Kho mãclaude-pptx-skills
Tên kỹ năngfont-embedding-and-fallbacks
Sao
4
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được andreworia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Font Embedding And Fallbacks trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Font Embedding And Fallbacks trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Font Embedding And Fallbacks ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Font Embedding And Fallbacks với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Font Embedding And Fallbacks làm được gì?

Nhúng phông chữ thương hiệu vào file .pptx và thiết lập danh sách phông chữ dự phòng để bố cục bản trình chiếu không bị xô lệch trên máy không có các phông chữ đó. Không dùng để chọn kiểu chữ hoặc tỷ lệ cỡ chữ.

Vì sao nên dùng Font Embedding And Fallbacks trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Font Embedding And Fallbacks là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Font Embedding And Fallbacks trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/andreworia/claude-pptx-skills/tree/main/skills/font-embedding-and-fallbacks. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Font Embedding And Fallbacks?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Font Embedding And Fallbacks với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Font Embedding And Fallbacks với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Font Embedding And Fallbacks có miễn phí không?

Có. Kỹ năng này được andreworia phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇