Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Jan 23, 2024 9:13 am

Material icons font (MaterialIcons-Regular.ttf) doesn't seem to be managed in documents,
even in simple operations:

Spire.Doc.Document document_icons = new Spire.Doc.Document(@"C:\Temp\doc_with_material_icons_font.docx");
document_icons.SaveToFile(@"C:\Temp\new_doc.docx", Spire.Doc.FileFormat.Docx);

In the new document (new_doc.docx) the font icons don't show up.

FondazioneGix
 
Posts: 1
Joined: Tue Jan 23, 2024 8:51 am

Tue Jan 23, 2024 9:40 am

Hello,

Thank you for your inquiry.
Based on your description, I have simulated a Word document using the Material icons font and conducted preliminary tests with Spire.Doc Pack Version: 12.1. I was unable to reproduce the issue you mentioned. Attached are my test document and the resulting document.
Could you please confirm if you are using this version of Spire.Doc for your testing? If not, I recommend upgrading to this version and conducting another test. If the issue persists after testing, please provide the following information for further investigation. You could attach them here or send them to us via email ([email protected]). Thanks in advance.
1) Your input Word file.
2) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).
3) Your application type, such as Console app (. Net 6.0).

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc

cron