chernojagne

PPTX PDF Font Fix

辦公效率v1.0.0
作者:chernojagne更新於 2026-05-11pptx-pdf-font-fix@clawhub_chernojagne/pptx-pdf-font-fix
檔案處理PDF 處理#PDF

據 AlphaMoat 統計,截至 2026-09,PPTX PDF Font Fix 累計下載 4,348 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 2,260 位,在「辦公效率」分類(435 個)中排名第 191 位。

累計安裝
861
累計下載
4348
星標
2
全站排名
#2,260
全站前 45% · 「辦公效率」前 44%
平台累計安裝累計下載星標評論
ClawHub ↗692183--
SkillHub ↗86143482—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

給完全透明(0%)的文字加上極小的透明度,促使 PowerPoint 在匯出 PDF 時正確嵌入字型,解決匯出件顯示成預設字型的問題。它只改幻燈片 XML 裡的文字段,且要求字型本身可嵌入、PowerPoint 選項裡已勾選嵌入字型。

資料釋出於 2026-10-27

可以用來做什麼

  • 修復匯出 PDF 後字型被替換的簡報
  • 在交付前統一處理整份 PPTX 的字型嵌入

什麼時候用

  • 匯出的 PDF 字型與原始檔不一致時
  • 對方收到的 PDF 顯示成預設字型時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

這個 PPTX 匯出的 PDF 字型不對,幫我修一下
批次處理這個檔案,讓匯出時能嵌入字型

月度資料趨勢

累計下載4348
1563305945542026-03 · 累計下載 20902026-05 · 累計下載 29132026-06 · 累計下載 17692026-07 · 累計下載 32362026-08 · 累計下載 34922026-09 · 累計下載 434826-0326-09
星標2
0122026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-094348—2
2026-083492+7.9%2
2026-073236+82.9%2
2026-061769-39.3%-
2026-052913—-
2026-032090—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.8 KB · ClawHub v1.0.0
---
name: pptx-pdf-font-fix
description: Fix PowerPoint font embedding issues in PDF export by patching text transparency in PPTX files. Use when a user has a PPTX file where exported PDFs show wrong/default fonts instead of the intended downloaded/custom fonts, even with font embedding enabled. Works by applying minimal (1%) transparency to fully-opaque text runs, which forces PowerPoint to properly embed fonts during PDF export.
---

# PPT Font Fix

## Problem

PowerPoint's "Export to PDF" can fail to embed downloaded/custom fonts, substituting built-in defaults, even when:
展開全部(共 46 行)
- Fonts are properly installed and embeddable
- "Embed fonts in the file" is checked in PowerPoint options

## Workaround

Applying a tiny transparency (1%) to text with 0% transparency forces PowerPoint to correctly embed fonts in PDF output. This is visually imperceptible but changes how PowerPoint processes the font during export.

## Usage

```bash
python3 scripts/fix_font_transparency.py input.pptx [output.pptx] [--transparency 1]
```

### Options

- `output` -- Output PPTX path (default: `input_fixed.pptx`)
- `--transparency, -t` -- Transparency % to apply (default: 1)

## Behavior

- Only patches text runs that are fully opaque (0% transparency)
- Leaves text that already has any transparency untouched
- Safe to run multiple times
- Only modifies slide XML (`ppt/slides/slideN.xml`), not layouts/masters

## Workflow

1. Receive PPTX file from user
2. Run the fix script: `python3 scripts/fix_font_transparency.py input.pptx`
3. Return the patched PPTX to the user
4. User opens patched file in PowerPoint and exports to PDF -- fonts now embed correctly

## Note

PDF export must be done from PowerPoint desktop. Server-side converters (LibreOffice, Graph API) do not reproduce the same font embedding behavior.

「辦公效率」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。