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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

89 views 0 6
Read article

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