• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Upload only few icons locally (instead the 500+ of FontAwesome)

cclaerhout

Well-known member
#2
Icomoon allows you to do that quite easily. I wrote a small article about it here (their interface has changed, so you will have to adapt a little). If I remember correctly they have an automatic solution to integrate fonts in pages (with JavaScript) but the way TinyMCE implemented it is better in my opinion (no direct JS, but some css tricks for old browsers => IE7).
 

rafass

Well-known member
#5
I did this but in other software. using https://icomoon.io/
The process was simple. just import the fonts files to icomon.io -> add the additional icons that you want -> download the new fonts -> upload those fonts to your server -> add the CSS and done.
It was apparently easy because there is a good tutorial to do this.
Any idea how to do the same in Xenforo?
 

rafass

Well-known member
#7
Nope. I don't know about those plan$.. but much better build manually your own kit, upload to the new icons to the server, add the CSS's and enjoy forever and free.
I'll try to do that using this this addon of @BassMan and editing the files directly with icomoon following the steps of the other tutorial.
working...
 
Last edited:
#8
Do you think it will be faster to serve a specific set of FA icons that you are using versus referencing the CDN one? Wouldn't the argument be that often users already have the CDN one in their cache?
 

rafass

Well-known member
#9
Less code, less work.
I just want to load only my own kit with few icons and CSS through my CDN or locally.
And delete the other 495 icons / CSS that I'll never use.
 

rafass

Well-known member
#10
Well, I already did this using https://icomoon.io/ and is ridiculously easy.
Basically I've created my own kit with 30 icons, I've changed the name of the fonts and the CSS names exactly with the same format of FontAwesome, uploaded the files to the server and done. Now I'm using my own small kit with less icons and less CSS :sneaky: