MDL-23493 add support for theme fonts