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: http://www.w3schools.com/cssref/css_websafe_fonts.asp. 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 Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

60 views 4 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