Custom fonts - PDF generation

Daniel Sadjadian April 21, 2015

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

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2015

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?

Daniel Sadjadian April 22, 2015

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

Atlassian Community Events