Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

PDF Export Heading 4 is larger font than Heading 2

The problem is that when I export a page to PDF the heading 2 is smaller font size than heading 4. Is there something I can do to fix that? The table of content comes out just fine. Its the size of the headings that is the problem.

Thanks

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 26, 2021

Hello there @Archie Campbell!

This behavior is a known bug of the PDF export. You can check more details about it here:

Currently, there is no workaround for this situation. I have updated the report linked above with some details and I do encourage you to go over there in the report and share with our internal teams how this affects your workflow!

Let us hear from you!

 

 

 

 

 

I Googled "Confluence How do I change the font size in PDF Export"

I am now checking out the following page

https://confluence.atlassian.com/confkb/how-do-i-change-the-font-sizes-in-pdf-export-833938097.html

Nope. That did not work. It only applies when exporting all Pages in a space. We only export one page.

Our work around was to not use h4 heading4 and use h5 instead.

Seems like a real simple thing to fix. They have the h4 heading font size wrong. Just fix it. 

Like Neuromancer likes this

When I update the space-specific stylesheet as follows, I do get correctly sized headers, also when I export only a single page:

/* Title */
.wiki-content h1 {
font-size: 25px;
font-weight: bold;
}

.wiki-content h2 {
font-size: 20px;
}

.wiki-content h3 {
font-size: 18px;
}

.wiki-content h4 {
font-size: 16px;
}

.wiki-content h5 {
font-size: 14px;
font-style: italic;
}

.wiki-content h6 {
font-size: 12px;
}

.wiki-content h7 {
font-size: 100%;
}

Screenshot 2022-09-09 at 12.37.57.png 

Suggest an answer

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

Atlassian Community Events