Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Thu May 08, 2025 11:14 am

Question - is it possible to embed custom fonts to a pptx and then to have it preserved when the file format is PDF?

boosted_d16
 
Posts: 50
Joined: Wed Apr 19, 2023 11:41 am

Fri May 09, 2025 6:12 am

Hi,

Thanks for your inquiry.
Our Spire.Presentation provides the following method to support embedding fonts in PPTX and preserving the fonts after saving PPTX to PDF. Please give it a try.
Code: Select all
presentation.AddEmbeddedFont("D:\\Alibaba-PuHuiTi-Regular.ttf");

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1385
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.Presentation

cron