Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Irina Parsina May 22, 2012

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
Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2014

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
TAGS
AUG Leaders

Atlassian Community Events