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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
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