Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add Roboto font via URL to export to PDF stylesheet

Ruud van de Ven
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2022

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 -Relational-
Community Champion
September 6, 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

Ruud van de Ven
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2022

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

Atlassian Community Events