Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Sep 28, 2020 2:59 am

Hi Team,
Please help me below

I have an existing pdf which contains texts and other chart elements. However, I would like to replace the existing font to a new font "Century Gothic 11f".

Thanks
Naren

snaren0423
 
Posts: 4
Joined: Mon Sep 28, 2020 2:53 am

Mon Sep 28, 2020 6:15 am

Hi Naren,

Thanks for you inquiry.
Our Spire.PDF supports replacing fonts. Did you encounter any issue when replacing fonts? To help us investigate your issue more accurately, please provide your pdf file. You can upload your file here or send it us([email protected]) via email. Thanks in advance.

Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Mon Sep 28, 2020 7:27 am

yes while replacing got the below error msg

"The font being replaced is not a standard font of type 1 or a non-emmbeded true type font"
Last edited by snaren0423 on Tue Sep 29, 2020 12:16 am, edited 1 time in total.

snaren0423
 
Posts: 4
Joined: Mon Sep 28, 2020 2:53 am

Mon Sep 28, 2020 10:31 am

Hello,

Thanks for providing your file.
Please kindly note that our Spire.Pdf currently only supports replacing standard font of type 1 and non-emmbeded true type font. I checked your document and noticed that the font is embedded. This embedded font contains ToUnicode information. If we force to replace the embedded font with another font, it is most likely to cause mess of characters. Therefore, replacing this embedded font is unreachable in our Spire.PDF. Hope you can understand.

Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Return to Spire.PDF