I have a Rails web app and I'm trying to optimise my font asset size but I don't really understand how the font is rendered.
I have a font.css
file that looks like this:
@font-face {
font-family: 'FontName';
font-style: normal;
font-weight: 300;
src: url(data:font/truetype; charset=utf-8; base64, very long string)
}
And then it is imported in my application.html.erb
.
My current file has 993KB and I would like to reduce it somehow.