I manage to deploy an app with a download function to create a pdf document. I looked around at different ways of altering the font etc and came up with the following YAML.
output:
pdf_document:
latex_engine: xelatex
mainfont: Arial
fontsize: 12pt
classoption: landscape
geometry: margin=0.5in
This works perfectly on my machine. However, when I deployed the app, I failed to generate the pdf document with the following error on log.
So what should I do on my Rmd file to allow different fonts to be used? I am new to coding in general, so any educational points would be appreciated.