We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

setFontReplaceBehavior?

Hi,

what’s the intention of the method com.aspose.pdf.Document.setFontReplaceBehavior( int i) ?

Where can i find some documentation for this method?

I’am trying to solve a Issue concerning not embedded (microsoft )fonts in PDF without using <span style=“color: rgb(31, 73, 125); font-family: “Calibri”,“sans-serif”; font-size: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: “Times New Roman”; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;”>com.aspose.pdf.Document.addLocalFontPath

Hi Jakob,


Thanks for contacting support.

The setFontReplaceBehavior(…) method is our internal implementation and will be removed from API. We are sorry for this confusion and inconvenience.