Glyphicons rendering as empty box

John Dorean picture John Dorean · Sep 8, 2013 · Viewed 30k times · Source

I'm using the excellent Twitter bootstrap library with Glyphicons, however all the icons are rendering as empty squares, like so:

enter image description here

I've uploaded the Glyphicons fonts to my web root and changed the bootstrap.css file to point to their correct locations, which I've verified because they have 200 OK requests in Chrome's dev tools:

enter image description here

This is the markup I'm using:

<a href="http://www.mysite.com/download" class="btn btn-primary"><span class="glyphicon glyphicon-star"></span> Download to Computer</a>

Any ideas why the font may be rendering as empty boxes? Previous answers on StackOverflow all point to incorrect paths to the fonts, which isn't the case here as the paths are correct.

Answer

John Dorean picture John Dorean · Sep 16, 2013

Not really a solution, but I ended up just using the Bootstrap CDN: http://www.bootstrapcdn.com/