Is there a way to specify custom fonts in On Demand Confluence PDF exports?

I have been trying to customose the way the PDF looks using the PDF stylesheet and layout.

I can't seem to be able to change the font. I would like my PDFs to be in Trebuchet MS. But It still comes out in Times.

Thanks ever so much!

1 answer

0 votes

Hi, there.

Indeed there is a way. This will apply to an entire space, so be careful is you want to change only a page:

  • Go to a page in the space
  • Click 'Space tools' (in the left bottom corner) >> Look and Feel 
  • Click the tab 'PDF Stylesheet'
  • Click 'Edit'
  • Enter the following code in the 'PDF Export Stylesheet':
p {
font-family: "Trebuchet MS", Helvetica, sans-serif;
  • Click 'Save'


From this moment on, all pages in this space should be exported to PDF in this font. You can also find other fonts here: Just change the code accordingly.


I hope it was helpful. 


Kind regards.

Jaime Kirch da Silveira

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: More details: https://co...

27 views 1 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you