News for hackers. Stuff that matters.
Re:Font Awesome 4.1 released by deanclatworthy on Saturday May 17, 2014 @05:31PM (#7761144)
One thing to be aware of when using these fonts as I discovered on a large project today: this font won't work on windows phone 7 devices. Whilst these devices don't have much market share in the US it's quite a bit more in Europe (particularly the Nordic countries).

The reason is that wp7 doesn't support font-face. The fix is to hide the opacity of the :before pseudo selector that sets the content of the dom element. Then you still reserve the space and then set the actual element to a background of the svg for the icon.

It's a lot of work if you are using many icons but the alternative is unusable squares all over your application for WP7 users.

There are no comments on this comment yet.