50
« Last post by achosierry on October 18, 2017, 05:13:26 am »
The fonts in the default theme are:
icons.eot
icons.otf
icons.svg
icons.ttf
icons.woff
icons.woff2
But in the basic theme they are:
icons.eot
icons.svg
icons.ttf
icons.woff
the dist its omitting the otf from the default theme
dist icon.css file
src: url("../themes/default/assets/fonts/icons.eot");
src: url("../themes/default/assets/fonts/icons.eot?#iefix") format('embedded-opentype'),
url("../themes/default/assets/fonts/icons.woff2") format('woff'),
url("../themes/default/assets/fonts/icons.woff") format('woff'),
url("../themes/default/assets/fonts/icons.ttf") format('truetype'),
url("../themes/default/assets/fonts/icons.svg#icons") format('svg');
But if you use icon alone as like in semantic-ui-icon it doesn't contains the woff2 and still doesnt load the otf file
ui-icon file:
src: url("assets/fonts/icons.eot");
src: url("assets/fonts/icons.eot?#iefix") format('embedded-opentype'),
url("assets/fonts/icons.woff2") format('woff'),
url("assets/fonts/icons.woff") format('woff'),
url("assets/fonts/icons.ttf") format('truetype'),
url("assets/fonts/icons.svg#icons") format('svg');