Custom fonts - PDF generation

Hi there,

I am working on the HTML and CSS files which style the PDF generation on my confluence wiki blog site thing.

I am using a custom font in my CSS code. I tried the code with a basic HTML and CSS file on my local machine and it works fine. However, when Confluence completes the PDF generation, it doesn't use or recognise the custom font. It just defaults to using Times New Roman or something like that.

 

How can I use custom fonts for the PDF generation in Confluence. Is there somewhere I can upload my custom fonts to confluence?

 

Thanks, Dan.

1 answer

Hi Daniel,

I have seen that you already discovered that thread at Changing font-family in PDF export (OnDemand)

There, I described how I upload a font file. Did you try that? Didn't it work?

Steffen Heller Thanks for your reply. i tried what you said but it did not work at all. Maybe I am not finding the right font name?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,059 views 16 14
Join discussion

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