Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,093
Community Members
 
Community Events
168
Community Groups

Add Roboto font via URL to export to PDF stylesheet

Is it possible to add the Roboto font to the PDF export via an external url in Confluence Cloud. 

Ive got no server to upload any TTF file.

 

I want to embed this code:

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,500;0,700;0,900;1,100;1,500;1,700;1,900&display=swap');

 

And do this:

*{

font-family: 'Roboto', sans-serif;

}

 

but it doesnt seem to work.

 

1 answer

0 votes
Alex Koxaras Community Leader Sep 06, 2022

Hi @Ruud van de Ven and welcome to the community!

Please read this thread https://community.atlassian.com/t5/Confluence-questions/Changing-font-family-in-PDF-export-OnDemand/qaq-p/433055 which has a solution for you!

Let me know if that works out for you!

Alex

It doesnt. For this solution i need to download the fonts and add them to some confluence page and reference to those files?

 

I want to directly put the Google fonts.googleapis Url in there. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events