Custom Fonts

Richard S January 22, 2013

Is anybody able to give me some instructions on how to upload a custom font file to Confluence?

3 answers

1 accepted

3 votes
Answer accepted
RianA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2013

In addition to what Amalia suggest there's also a free plugin that allow Confluence to use custom plugin. Here's the link to that plugin.

* https://marketplace.atlassian.com/plugins/com.tngtech.confluence.plugin.fonts

0 votes
Franko Ivasic July 7, 2020

Maybe not fully related, but how to manage fonts used by presentation (presentation view in wiki)?
I have a "Brandon Text" font used for presentation, and it worked before upgrade of confluence to 7.4.
Confluence is on linux server, and I have fonts in a typical /usr/share/fonts directory.

0 votes
Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2013

Are you referring to the custom font file for PDF? A complete instruction for this is here: https://confluence.atlassian.com/display/DOC/Creating+PDF+in+Another+Language

However, if you'd like to change the font used in Confluence UI, you can change that using CSS as explained more in this doc: https://confluence.atlassian.com/display/DOC/Styling+Fonts+in+Confluence

Richard S January 22, 2013

Hi thanks, the problem I have is that the font we are using is stored on our homepage, however some browsers don't allow cross domain font face calls. We need to be able to upload the file to Confluence and reference it? i.e. The font must be called from a local url.

Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2013

Not sure if this works but perhaps you can try:

http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css

http://jasonlau.biz/home/css/embedding-custom-fonts-with-css

The css can be add into Confluence Admin > Stylesheet

Deleted user January 22, 2013

I would like to set up a new font in Confluence (download version) - is there a way the font can be installed in confluence and then referenced using the font name only? e.g. upload the font 'cool_font.ttf' to the Confluence 'font' directory and then reference the font name in the CSS file URL.

@font-face {
	font-family: cool_font;
	src: url('cool_font.ttf');
}
Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2013

You can always put this font inside <confluence-install>/confluence folder and this font can be accessed by http://<confluence-url>. So for example, if you put this font inside <confluence-install>/confluence/font then the url will be http://<confluence-url>/font

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events