PowerPoint's "Export to PDF" can fail to embed downloaded/custom fonts, substituting built-in defaults, even when:
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.
python3 scripts/fix_font_transparency.py input.pptx [output.pptx] [--transparency 1]
output -- Output PPTX path (default: input_fixed.pptx)--transparency, -t -- Transparency % to apply (default: 1)ppt/slides/slideN.xml), not layouts/masterspython3 scripts/fix_font_transparency.py input.pptxPDF export must be done from PowerPoint desktop. Server-side converters (LibreOffice, Graph API) do not reproduce the same font embedding behavior.
共 1 个版本