Print format import specific font

How to import specific font in print format like FranklinGothicBookRegular

@font-face {
font-family: “Franklin Gothic Book”;
src: url(“Frappe Cloud);

}

You can’t pull a font directly from Frappe Cloud or the internet inside a Print Format. Just upload the font file in file folder and use it locally.

Go to

File List → click Attach → Upload your font file → Use it in CSS in Print Format like

@font-face {
font-family: “Franklin Gothic Book”;
src: url(“/files/FranklinGothicBook-Regular.ttf”) format(“truetype”);
}

body {
font-family: “Franklin Gothic Book”, Arial, sans-serif;
}