Amin.Gan wrote:Hello,CerealPT
Thanks for your inquiry. At present, we do not support setting alternative fonts directly. If the used font is not found in the system, our product defaults to finding a font that supports this glyph instead. Thus, it is recommended that you ensure that there are some commonly used fonts installed on your system. If you are in a Linux environment, you can copy and install the commonly used fonts of the Windows system.
If you have any other questions, please feel free to write to me.
Sincerely,
Amin
E-iceblue support team
Hi Amin!
Thanks for your answer.
I am having the following error while running code to convert a pdf to pdf/a:
Error Message: class com.spire.ms.System.Exception: No '' font found!
com.spire.pdf.packages.sprhpf.spr┝⌺(Unknown Source)
com.spire.pdf.packages.sprhpf.spr︼⌻(Unknown Source)
com.spire.pdf.packages.sprpwo.spr®▁(Unknown Source)
com.spire.pdf.packages.sprpwo.spr┈╽(Unknown Source)
com.spire.pdf.packages.sprpwo.spr⅝╽(Unknown Source)
com.spire.pdf.packages.sprnyo.spr┖╾(Unknown Source)
com.spire.pdf.packages.spryuo.spr┪▀(Unknown Source)
com.spire.pdf.packages.spryuo.spr▢▀(Unknown Source)
com.spire.pdf.packages.spryuo.spr〨▀(Unknown Source)
com.spire.pdf.conversion.PdfStandardsConverter.toPdfA1B(Unknown Source)
...
This code is running in an AWS Lambda function.
If I run this code locally in my machine, it is correctly converted.
I also used the PdfDocument.setCustomFontsFolders(folder) in order to point to a folder that contains all the fonts that I'm currently using: it works in my mac but fails in AWS Lambda.
In my mac, I also did the test to point to an empty folder and the conversion was successful --> How is this possible?
Did you already face this problem?
Thanks a lot for your support!