I made it until the creation of public/js/vfs_fonts/AntiqueOliveStd.js.
However, I just can’t find how to move on. Where and how can I add the font to database/seeds/FontsSeeder.php, run php artisan db:seed --class=FontsSeeder and clear the cache by adding ?clear_cache=true to the end of the URL.
Sorry for the stupid questions, but I’m a newbie in this field.
After that you can just use the font like this: @font-face {
font-family: ‘YOUR_FONT’;
src: url(data:font/opentype;charset=utf-8;base64,YOUR_BASE64_STRING_HERE);
font-weight: normal;
}
That Base64 encoding trick is such a lifesaver! I spent way too much time fighting with the grunt dump_dir command and file permissions before finding that. It’s so much cleaner to just embed the font directly into the CSS editor.