I recently encountered a problem in my web app where my Glyphicons in Bootstrap suddenly stopped working, appearing as empty squares for no apparent reason.
Even after ensuring that the font files were intact and replacing them with fresh ones from version 3.2, the issue persisted.
I checked the CSS options which seemed fine:
src: url(#{resource['fonts:glyphicons-halflings-regular.eot']}) format('embedded-opentype');
src: url(#{resource['fonts:glyphicons-halflings-regular.woff']}) format('woff');
src: url(#{resource['fonts:glyphicons-halflings-regular.ttf']}) format('truetype');
src: url(#{resource['fonts:glyphicons-halflings-regular.svg']}) format('svg');
The bootstrap.css file was loading correctly, yet the icons still weren't showing up on the site.
Despite checking everything meticulously, including latest font versions and correct configuration, I couldn't find any errors or reasons for this issue.
EDIT
For context, my setup includes Wildfly 8.1, JSF 2.2, and Bootstrap 3.0.
EDIT 2
My colleague mentioned that this problem arose after migrating our app from JBoss 7.2 to Wildfly 8.0, hinting at a possible cause.