Hi ,
we are now moving to cloud , Previously when we were on Prem , we installed the required fonts on the machine which was hosting the application . But now we have a issue which i want to confirm
How this Font will be picked up ( What will be the source ) while doing the conversion to PDFA 3B format ? for OnPrem it used to by default used to pick from c:Windows/Font
but now since we are moving to cloud , where should i place the fonts that i want to use so that my PDFA conversion doesnot fail by error saying "Font not found " exception ...
your help with some prototype code will really help me to speed up our decision.
@GayatriNaik
Can you please provide more details about your query regarding font support on Cloud? Are you asking about specific functionalities or issues related to Aspose.PDF?
Any updates @asad.ali ??your help with some prototype code will really help me to speed up our decision.
Hi Please help me aspose team. @asad.ali @amjad.sahi
Hi, @GayatriNaik
Cloud has fonts installed, what fonts do you want to use for conversion? Please, attach an example of the source file for conversion and font files.
Currently you can use putPdfInStorageToPdfA method, swagger method definition available at Aspose.Pdf Cloud - API References
const { PdfApi } = require("asposepdfcloud");
const api = new PdfApi("YOUR_APP_SID", "YOUR_APP_KEY");
// Set the file name
const fileName = "file.pdf";
// Set an extracted image path.
const outPath = "PDFA/" + fileName;
// Use default storage (null indicates default storage)
const storage = null;
// Set the folder where the document is stored
const folder = "Documents";
// Set pdf document password.
const password = null;
// Converts PDF document (located on storage) to PdfA format and uploads resulting file to storage
const result = await api.putPdfInStorageToPdfA(
fileName,
outPath,
// Available values : PDFA1A, PDFA1B, PDFA3A
"PDFA3A",
folder,
storage,
password);