Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,464,959
Community Members
 
Community Events
176
Community Groups

How can I add google fonts to PDF layout styles

I cant seem to be able to add google fonts to my pdf exports.

Ive tried the following:

@page {

@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2) format('woff2');
}

font-family: Poppins, Helvetica, Arial, sans-serif;

}

as well as the following:

@page {

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

font-family: Poppins, Helvetica, Arial, sans-serif;

But no luck

 

 

2 answers

1 accepted

1 vote
Answer accepted
Jessica Atlassian Team Jun 30, 2022

Hello Clara,

Welcome to the Atlassian Community!

I believe you are trying to use a different font for your PDF exports and is trying to reference the address/location of the Google font there, from what I could see, and is trying to add that to the space settings, is that right?

By default, using custom fonts are not allowed in the editor, but it is possible to upload fonts to use with the PDF export, however those would need to be uploaded and installed to your Confluence Cloud site and this would need site-administrator or administrator permissions in order to do so.

You can ask your site-admin to follow this documentation to install a new font in the .ttf or .ttc file in the Confluence SettingsPDF Export Language Support from the sidebar.

Once this is done, you can follow with the Export PDF and see how it goes. 

Cheers,
Jessica

0 votes

Hi Clara, here is the solution to your problem, Click here

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events