Generated CSS no longer points to WOFF?

17 views
Skip to first unread message

jeff....@gmail.com

unread,
Sep 27, 2017, 5:10:50 PM9/27/17
to IcoMoon
Hi All,

Previously, my icon font stylesheet had output that pointed to numerous files types:

src: url('../icons-v6/icomoon.eot?rnxwzr');
src: url('../icons-v6/icomoon.eot?rnxwzr#iefix') format('embedded-opentype'),
url('../icons-v6/icomoon.woff2?rnxwzr') format('woff2'),
url('../icons-v6/icomoon.ttf?rnxwzr') format('truetype'),
url('../icons-v6/icomoon.woff?rnxwzr') format('woff'),
url('../icons-v6/icomoon.svg?rnxwzr#icomoon') format('svg');

Today, the css I download from IcoMoon is different:

@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot');
}
@font-face {
font-family: 'icomoon';
src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8Sj+kAAAC8AAAAYGNt...") format('truetype');
font-weight: normal;
font-style: normal;
}

It appears to only point to eot files for IE, and TTF for everything else, even though the zip I download includes the WOFF files, SVG and the rest.

Why this change? Does anyone know?

Thanks.

Keyamoon

unread,
Sep 27, 2017, 5:15:44 PM9/27/17
to IcoMoon
You must have checked the "Embed in CSS" option. For embedded fonts, the TTF alone would suffice: https://icomoon.io/#post/421

You can find and change the font embedding option under Preferences, in the "Generate Font" tab.

jeff....@gmail.com

unread,
Sep 28, 2017, 9:37:01 AM9/28/17
to IcoMoon
that was it! thanks so much.
Reply all
Reply to author
Forward
0 new messages