It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Display special symbols in PDF when using another font

Hello,

in my PDF documents I need two things:

  1. Some special symbols like ≥ ≈ (which I can insert from insert > Symbol in Edit view)
  2. A custom font (that DOES contain these symbols)

Still, when I include the custom font with

@font-face {  
src: url(... path to ... fontname.otf);    
-fs-pdf-font-embed: embed;
}

and export to PDF, it correctly shows all the text in that font but does not show these symbols.

What can I do to make that work?

Workarounds would be okay.
Is there a way to set the custom font back to Arial just for those single symbols. I tried that by wrapping with something real stupid that won't be used anywhere else in the document (a combination of <em> and <strong>) and defined

.wiki-content p em strong {
font-family: Arial, sans-serif;
font-weight: normal;
color: red;
}

but still wouldn't be shown.

1 answer

Problem still existing ;-(

One thing I am still not really sure about:
Is it possible to globally change the standard Confluence font to a font of my liking?
With the result that this font will be used in PDF exports without need for any "font-family" definitions?

PS: I know the different bug reports about the "special char in PDF export" problem:

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Server & Data Center 7.0 is here!

Hello Community 👋🏼 I’m Makisa, a product manager on Confluence Server and Data Center. Confluence Server & Data Center 7.0, our latest platform release, is now available and we wanted to shar...

359 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you