I have followed threw the adding new fonts on the installation page as below NOTE running selfhosted version 2.7.2 on Ubuntu 14.04 Trusty
First i am having difficulty with the grunt_dump step did some googling mostly unclear to me to do with nodejs something or other. Not sure what grunt is or how to get it on my Ubuntu system. Tried a couple ways to add it but did not manage to make it work
Also i am not sure why but my FontsSeeder.php file may get overwritten on upgrade, and i am still not sure if i have the CSS font stack correct as i really have no idea what i am doing
Custom Fonts
Follow these steps to add custom ttf fonts: ie, Google fonts
Create a new folder in public/fonts/invoice-fonts/ and copy over the ttf files
bil-1:/# ls -l /var/www/ninja/public/fonts/invoice-fonts/
total 155
<..snip...>
drwxr-xr-x 2 www-data www-data 6 Sep 7 06:33 open_sans_light
drwxr-xr-x 2 www-data www-data 7 Sep 7 19:52 orbitron
drwxr-xr-x 2 www-data www-data 6 Sep 7 06:33 pt_sans
<..snip...>
<strong>Run grunt dump_dir</strong>
root@bil-1:/var/www/ninja/public/fonts# grunt_dump
grunt_dump: command not found
<strong>Add the font to database/seeds/FontsSeeder.php</strong>
` [
'folder' => 'orbitron',
'name' => 'Orbitron',
'css_stack' => "'Orbitron', Georgia, serif",
'google_font' => 'Orbitron',
'normal' => 'Orbitron-Regular.ttf',
'bold' => 'Orbitron-Bold.ttf',
'italics' => 'Orbitron-Medium.ttf',
'bolditalics' => 'Orbitron-Black.ttf',
'sort_order' => 150
],`
I did’nt bother with these steps as i cannot get grunt to dump
<strong>Run php artisan db:seed --class=FontsSeeder
Clear the cache by adding ?clear_cache=true to the end of the URL</strong>