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
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events