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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events