Added support for firefox osx font smoothing.

Related to issue #1591
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=857142#c83
Signed-off-by: Martin Seeler <developer@chasmo.de>