I load a Word document which has an embedded font and try to save it as PDF. PDF wont recognize the font and will replace it with a standard font. I tried to avoid that and to use the save option like it follows:
- Code: Select all
Dim paramlist As New ToPdfParameterList
paramlist.EmbeddedFontNameList.Add("Berling Antiqua")
paramlist.EmbeddedFontNameList.Add("Frutiger BSK")
paramlist.EmbeddedFontNameList.Add("Frutiger Linotype")
spireDocument.SaveToFile("C:\temp\a.pdf", paramlist)
No effect. Could you please suggest me a better solution to keep embedded fonts when saved to a pdf-format?
thank you.