I've been experiencing a rather strange issue and I wanted to see if anyone else had experienced the same and if they had found a solution.
For a given web project, I download Font Awesome, include the CSS files and make sure that all files are being loaded correctly (no 404s) and everything works fine. I do some work on the project and then finish up with a git commit/push.
Trouble is, often when I then go to another machine and do a git clone/pull all of the font icons which worked great on the original machine show up as boxes! Still no 404 errors reported by the console. As soon as I re-download Font Awesome and re-copy the files (they are there, they just don't work) everything works fine again.
Has anyone had problems with git corrupting font files? Or is there something else in my workflow that's borked? Help and advice is much appreciated.
Update: Issue Resolved
The quick fix was to switch to a CDN to load the files. I was initially reluctant to do this because I was worried about load times but it was more than fine, plus it put less of a load on my server.
The actual issue was with the line endings of the file. If developing on Windows (and unfortunately I am) then git sometimes (often) checks out files with Windows-style line endings and commits them with Linux-style. For some reason this corrupted the Font Awesome font files.
So the more detailed fix (if you're adamant about not using a CDN) is to make sure that git keeps the original line endings of the Font Awesome files, and doesn't change them on commit/checkout.