تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

pptx-pdf-font-fix

بواسطة chernojagne

Web & Frontend Development
921التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Fix PowerPoint font embedding issues in PDF export by patching text transparency in PPTX files.

الوصف

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

Patches PPTX files to fix a PowerPoint bug where custom fonts fail to embed during PDF export, even when font embedding is enabled. Applies 1% transparency to fully-opaque text runs, which forces PowerPoint to embed fonts correctly. The change is visually imperceptible.

Server-side converters like LibreOffice don't reproduce PowerPoint's font embedding behavior, so this fix works within PowerPoint's own export pipeline where the problem actually occurs.

متى تستخدمها

  • Fixing missing custom fonts in exported pitch deck PDFs
  • Preserving branded typography in client-deliverable presentations
  • Exporting conference slides to PDF with custom typefaces intact
  • Correcting font substitution in academic or report presentations
  • Preparing print-ready PDFs from branded PowerPoint templates

مثال على سير العمل

الإدخال

User asks: My presentation exports to PDF with the wrong fonts even though font embedding is enabled in PowerPoint

الوكيل
  1. 1

    Receive the PPTX file from the user

  2. 2

    Run the fix script: python3 scripts/fix_font_transparency.py input.pptx

  3. 3

    Script patches fully-opaque text runs with 1% transparency in each slide's XML

  4. 4

    Return the patched PPTX file to the user

  5. 5

    Instruct the user to open the patched file in PowerPoint desktop and export to PDF

الإخراج

A patched PPTX file that, when exported to PDF from PowerPoint desktop, correctly embeds the custom fonts

المتطلبات

  • Microsoft PowerPoint desktop app (required for the final PDF export step)

التثبيت

clawhub install chernojagne/pptx-pdf-font-fix

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط