PPTX PDF Font Fix

v1.0.0

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.

0· 1.3k·6 current·6 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for chernojagne/pptx-pdf-font-fix.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "PPTX PDF Font Fix" (chernojagne/pptx-pdf-font-fix) from ClawHub.
Skill page: https://clawhub.ai/chernojagne/pptx-pdf-font-fix
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install chernojagne/pptx-pdf-font-fix

ClawHub CLI

Package manager switcher

npx clawhub@latest install pptx-pdf-font-fix
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description describe adding minimal transparency to text runs to force font embedding; the included script directly implements that behavior (parses PPTX as ZIP, edits slide XML, writes output). No unrelated capabilities or credentials are requested. Note: the package source/homepage is unknown, but that is a provenance concern, not a functional mismatch.
Instruction Scope
SKILL.md instructions are narrowly scoped: receive a PPTX, run the script, return the patched PPTX, and instruct the user to export to PDF from PowerPoint desktop. The instructions do not ask the agent to read arbitrary host files, call external endpoints, or access secrets.
Install Mechanism
No install spec is provided (instruction-only). A single Python script is included and runs with standard library modules (zipfile, ElementTree, tempfile, shutil). No third-party downloads, package installs, or archive extraction from untrusted URLs are present.
Credentials
No environment variables, credentials, or config paths are required. The script performs only file and XML operations on the user-supplied PPTX; it does not access network, system secrets, or other services.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not modify agent/system configuration. It simply reads an input file and writes an output file.
Assessment
This skill appears to do what it says and contains only a local Python script that edits slide XML. Before using it: (1) Run it on a copy of important PPTX files (to avoid accidental data loss). (2) Verify the patched file opens correctly in PowerPoint and that PDFs exported from PowerPoint desktop embed the intended fonts. (3) Because the registry source/homepage is unknown, prefer running the script in a controlled environment (local VM or sandbox) for sensitive documents, and inspect the script yourself if you have concerns. (4) Avoid running it on untrusted files from unknown sources without usual protections (antivirus, unzip protections) since malformed ZIP/XML inputs could be used in other attack vectors unrelated to this tool's intended function.

Like a lobster shell, security has layers — review code before you run it.

latestvk979sk5yrvagpkgsk3dbfm7anx80w2zx
1.3kdownloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

PPT Font Fix

Problem

PowerPoint's "Export to PDF" can fail to embed downloaded/custom fonts, substituting built-in defaults, even when:

  • 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

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.

Comments

Loading comments...