Page 1 of 1

Iconfont as Font, not SVG

Posted: Wed Mar 15, 2023 7:46 pm
by MorningLight
Hi,

I'm trying to make some pages smaller than now (using MaterialIcons). So, I created a "UserCollection" with only 16 icons, trying to get a small page size on load.

When I put an ICON on the page and change it to "UserCollection", the OUTPUT FORMAT changes to "Publish as SVG" even I setting it to "Publish as Font". And, this way, what I would save in not loading "MaterialIcons"), I spend in SVG code within the page.

Another problem is that even after substituting every MaterialIcon in the page, the PUBLISH creates its files (TTF and WOFF), and it seems the load of these libraries will occur anyway.

Am I doing something wrong?
Thanks!

Re: Iconfont as Font, not SVG

Posted: Wed Mar 15, 2023 9:05 pm
by Pablo
User collection can only be published as SVG. The output format has not effect, because the icons are not loaded from the original font, but from a folder where all user icons are stored.
The font files should not be loaded in that case.

Re: Iconfont as Font, not SVG

Posted: Wed Mar 15, 2023 9:21 pm
by MorningLight
I got it.
Thank you very much Pablo.