When a record is exported via the URL using &PDF is it possible to control the font?

Rain Vaine
Kilo Sage

Hello experts,

We are asked if we can change the font of the file being exported via the &PDF method.
Is it possible?

Regards,
Vaine

Dr Atul - LNG
Tera Patron

Hi @Rain Vaine 

 

No, we have no control on this.

Tanushree Maiti
Tera Patron

Hi @Rain Vaine 

 

As far as I know, there is no option to control or change the font.

However, you can try opening the PDF using a different PDF viewer to see if the issue persists.

 

Note: We faced a similar kind of issue where ASCII characters were getting changed to different characters after exporting to an Excel/CSV file. We were advised to use a different viewer, which helped resolve the issue.

Ankur Bawiskar
Tera Patron

@Rain Vaine 

Not possible to control for the OOTB PDF Export

but you can refer & use PDF Generation API

check this link which has script from Piyush

Generate PDF file for catalog variables and attach it to RITM 

you can check the PDF Generation API for this

Generating Custom PDFs - using the new PDFGenerationAPI

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

SaurabhT7455244
Tera Contributor

With the standard &PDF record export, you can control the font size using the 'glide.pdf.font.size' system property.
There is no documented OOB setting to change the font family for that export. If a specific font family is required, generate the PDF using sn_pdfgeneratorutils.PDFGenerationAPI, which supports a fontFamilySysId from sys_pdf_generation_font_family.