Hello,
Yes you can. There’re several options.
1st, you can add your font file (ttf) locally. If you check the XWiki repo page. All fonts are stored in webapp/WEB_INF/fonts
folder.
- Add one of your font (or any other ttf files) into
/webapps/xwiki/WEB-INF/fonts
. You need to restart your wiki after these changes. - After restarting it remains only to choose it
- For this you shall navigate to Administer Wiki → Look & Feel → Themes → Customize, from Color Theme section → click on Typography
- Fill the name of your font and check the preview window (it’ll refresh automatically)
- Finally, if you’re okay with the representation, press “Save”
If the name was filled correctly, you’ll see changes in text fonts after autorefresh. For instance, I’ve downloaded and put a .ttf
file with the name of font “Cooper*” after I followed the steps - I’ll see a font in my XWiki.
2nd option, You can use remote fonts - it can be set up according to this reply - How to modify fonts on 10.6.1 Version of XWiki? - #2 by ClemensRobbenhaar
Hope, after this, you’ll see a nice brand font in your XWiki