While testing my website on Internet Explorer 11 using a Windows 7 VM, I encountered an issue with one specific icon not loading properly. The rest of the font awesome and glyphicons icons are being displayed correctly.
<button type="submit>
<i class="fa fa-cart-plus fa-2x"></i>
</button>
Surprisingly, when tested on Firefox and Chrome in Linux Mint, all icons render as expected. However, both IE and Firefox in Windows display this particular icon as a box.
Upon further investigation, I noticed that Linux uses the .woff2
file while the version used in Windows is .woff
. All Font Awesome CSS and fonts are stored locally rather than loaded from a CDN. Could this disparity be causing the missing icon to display incorrectly? Interestingly, the icon appears correctly on font awesome's official website.
After searching for solutions on Stack Overflow, I came across several similar answers, but most were outdated or unclear. As a result, I am unsure where to begin in resolving this issue. How can I ensure that this missing icon displays correctly?